rest框架设置端口号

Jamin_Ma 2010-10-27 05:06:10
rest框架下有个application.conf中有设置访问端口号和jpda端口,怎么设置?

我的文件是这样写的:

# If you need to change the HTTP port, uncomment this (default is set to 9000)
# http.port=9000
#

# Define which port is used by JPDA when application is in debug mode (default is set to 8000)
# jpda.port=8000
#
...全文
178 1 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
Jamin_Ma 2010-10-28
  • 打赏
  • 举报
回复
改成
# If you need to change the HTTP port, uncomment this (default is set to 9000)
http.port=9000
#

# Define which port is used by JPDA when application is in debug mode (default is set to 8000)
jpda.port=8000

81,122

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧