标签: java spring spring-boot tomcat
我通过更改application.properties文件中的server.port属性来更改Spring Boot应用程序的默认端口。
但是现在我需要在应用启动后更改此端口。有可能吗?
答案 0 :(得分:1)
否,无法在运行时更改侦听端口。您需要重新启动应用程序。