SpringBoot笔记系列:(二十一)修改端口号及项目访问路径

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/panchao888888/article/details/81474919

springboot中修改端口号及项目访问路径:

在application.properties配置文件中添加配置信息

#端口号
server.port=8081
#访问路径
server.servlet.context-path=/springboot-helloworld

SpringBoot笔记系列目录

猜你喜欢

转载自blog.csdn.net/panchao888888/article/details/81474919
今日推荐