# HTTP Server port
server.port=8080
# Make the application accessible on the given context path (http://localhost:8080/myapp)
server.servlet.context-path=/myapp
Spring Boot, 访问入口配置
最新推荐文章于 2025-10-27 09:37:10 发布
本文介绍如何在HTTP服务器中配置特定的端口(如8080)和自定义的上下文路径(如/myapp),以实现应用程序在指定的URL下运行。
1527

被折叠的 条评论
为什么被折叠?



