在eclipse中tomcat提示8080端口被占用
论文问答
1
错误信息是:Port 8080 required by J2EE Preview at localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).
我在安装tomcat时已经设端口为8099,为什么还是提示8080被占用
-
1.如果你在tomcat/bin目录下已经运行了startup.bat,那么当你再用eclipse来启动tomcat时,会报8080端口被占用 2.你要确保你设置的那个端口位置是正确的: ..\tomcat\conf\server.xml port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> 3.请检查你eclipse中配置的tomcat路径是否是你修改的那个tomcat,因为当你new一个server时,默认是不会选择你自己下载的那个tomcat的
发表回复