How do I configure the TCP/IP port listened on by a Spring Boot application, so it does not use the default port of 8080.
In case you are using application.yml add the Following lines to it
application.yml
server: port: 9000
and of course 0 for random port.