设置 Tomcat 7 和 NetBeans/Eclipse
我在设置 Tomcat 时遇到问题。 我已经安装了 xampp,但无法设置端口,Apache 和 tomcat 都使用 8080 端口。 我使用的是 Windows 7。
I have problems with setting up the Tomcat.
I have installed xampp and I can't setup the ports, both the Apache and the tomcat are using 8080 ports.
I'm on Windows 7.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

马克,您需要更改 Tomcat 或 Apache 的侦听端口。在conf/server.xml 中查找带有
port="8080"
的Connector
并在其中或在您的Apache httpd.conf 中进行更改。Mark, you'll need to change the listening port for either Tomcat or Apache. Look for a
Connector
withport="8080"
in conf/server.xml and change it there, or in your Apache httpd.conf.