修改springboot端口

1、选中该文件:

2、新增配置如下(以修改端口为8765为例):

server.port=8765
server.context-path=/

3、启动项目观察:

发布了124 篇原创文章 · 获赞 119 · 访问量 51万+

猜你喜欢

转载自blog.csdn.net/qq_39706570/article/details/104156102