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.
Providing the port number in application.properties file will resolve the issue
server.port = 8080
"port depends on your choice, where you want to host the application"