SpringBoot端口和访问路径

更改启动端口:在application.properties配置文件中修改server.port=9090

更改项目访问路径:在application.properties配置文件中修改server.context-path=/cppdy

posted @ 2018-11-27 00:00  知识追求者  阅读(4142)  评论(0编辑  收藏  举报