V. Perfilev
V. Perfilev

Reputation: 508

How to reload embedded Tomcat in Spring Boot in runtime?

I change default port of my Spring Boot app by changing server.port property in application.properties file.

But now I need to change this port after the app is started. Is it possible?

Upvotes: 0

Views: 717

Answers (1)

1615903
1615903

Reputation: 34859

No, it is not possible to change the listening port at runtime. You need to restart the application.

Upvotes: 1

Related Questions