springboot设置访问端口和项目路径

 

找到,application.properties, 添加如下配置即可

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



posted @ 2019-09-16 17:32  护花使者  Views(1105)  Comments(0Edit  收藏  举报