tomcat报错The server cannot be started because one or more of the ports are invalid.

问题:
”The server cannot be started because one or more of the ports are invalid. Open the server editor and correct the invalid ports.“
tomcat报错The server cannot be started because one or more of the ports are invalid.
解决方法:
第一步:打开eclipse,
tomcat报错The server cannot be started because one or more of the ports are invalid.第二步:找到ports,修改端口号。
tomcat报错The server cannot be started because one or more of the ports are invalid.
最后保存就ok了。