spring boot 默认 http://localhost:8080

修改为本地IP地址和修改端口在application.properties中添加以下:

server.port=9090
server.session-timeout=60
server.address=192.168.7.11

浏览器请求:

spring boot 接口频率 springboot接口地址_配置