我的 xampp tomcat 实例没有启动,但 localhost:8080 工作正常。我的 xampp 控制面板看起来像
Problem detected!
9:37:45 PM [Tomcat] Port 8080 in use by "C:\xampp\apache\bin\httpd.exe"!
9:37:45 PM [Tomcat] Tomcat WILL NOT start without the configured ports free!
9:37:45 PM [Tomcat] You need to uninstall/disable/reconfigure the blocking application
9:37:45 PM [Tomcat] or reconfigure Tomcat and the Control Panel to listen on a different port
最佳答案
您的问题是 Apache 模块正在使用端口 8080
。所以同一个端口不能被Tomcat使用。
您有以下可能性:
- 更改 Apache 的端口,也许您想为 Apache 服务器使用端口
80
而不是8080
。 - 更改 Tomcat 的端口,也许您想使用其他端口而不是 Tomcat 服务器的默认端口
8080
。 - 如果您不想/必须使用 Apache 网络服务器,请禁用 Apache。
关于tomcat - xampp tomcat 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48647915/