Google News
logo
Java Spring Boot - Interview Questions
How to change port number in spring boot?
The default port number to start your Spring Boot application is 8080.

Just to change the port number, you need to add server.port=8084(your port number) property in your application.properties file and start your application.
Advertisement