首页 > 其他 > 详细

The server cannot be started because one or more of the ports are invalid. Open the server editor and correct the invalid ports.

时间:2020-02-28 18:42:17      阅读:1681      评论:0      收藏:0      [点我收藏+]

在eclipse里运行jsp文件最初迟迟没有反应,重启报了这个错误,tomcat的端口设置有问题。需要打开服务器设置一下端口号。

技术分享图片

 

 点击Servers,如果没有这一项,按照Window-Show View-Other...-Server-Servers调出。然后双击服务器(Tomcat)弹出编辑窗口。

技术分享图片

 

 

在Modify the server ports栏里

Tomcat admin port 如果是-,就改为8005。Ctrl+s保存。再次运行解决了。

The server cannot be started because one or more of the ports are invalid. Open the server editor and correct the invalid ports.

原文:https://www.cnblogs.com/8023spz/p/12378127.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!