解决Eclipse中启动Tomcat时出现 Port 8080 required by Tomcat v8.5 Server at localhost is already in use...

在Eclipse中启动Tomcat时出现如下图错误:


解决Eclipse中启动Tomcat时出现 Port 8080 required by Tomcat v8.5 Server at localhost is already in use..._第1张图片



解决方法:1 找到占用8080端口的进程,并结束进程。具体参考:http://blog.csdn.net/enniexiaorui/article/details/70161040

                    2.修改Tomcat的端口号:

                    找到Tomct的安装路径下的conf文件夹,例如下面:

                        D:\Program Files\apache-tomcat-8.5.11-windows-x64\apache-tomcat-8.5.11\conf

                  修改conf文件下的配置文件server.xml

               

                                     port="8080" protocol="HTTP/1.1"

                                     redirectPort="8443"/>

              修改上述的Connector 元素的port属性的值即可。例如将8080修改为8000

你可能感兴趣的:(javaweb)