Skip to content

Latest commit

 

History

History

spring-boot-change-port

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

How to change the default port in Spring Boot

We can update the server.port property in application.properties to change the default port in Spring Boot.

Article link https://mkyong.com/spring-boot/spring-boot-how-to-change-tomcat-port/

1. How to start

$ git clone https://github.com/mkyong/spring-boot.git

$ cd spring-boot-change-port

$ mvn spring-boot:run