springboot set the access port and the project path

 

Find, application.properties, you can add the following configuration

server.port=8088
server.servlet.context-path=/



Guess you like

Origin www.cnblogs.com/chenmz1995/p/11528542.html