Spring boot When running embended tomcat always use a extrange port -


konnichiwa (hello).

i following tutorial microservices in order combine erlang data generator, have created basic program spring-boot (java) everytime run application don't know why tomcat running in weird port number.

http://callistaenterprise.se/blogg/teknik/2015/04/10/building-microservices-with-spring-cloud-and-netflix-oss-part-1/

maybe folks can helpme. arigatou!

this not showing weird port, random port, maybe have configured in resources/application.properties or resources/application.yml file.

server.port=0 

or

server:   port: 0 

so should replace 0, because means (run server in random auto-generated port number) , replace port number want.

regards.


Comments

Popular posts from this blog

ios - Is 'init' forbidden as *part* of a variable name? -

c# - Get the Class name in a class with atribute inside a attribute method -

file - Python: AttributeError: 'str' object has no attribute 'readlines' -