get server port value from running application

后端 未结 0 2000
傲寒
傲寒 2021-01-17 05:19

I am working on the Spring boot((v2.1.2.RELEASE) application that will be deployed to the existing tomcat server on Linux box. How can I get the value of port# in the code?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题