我在linux中创建了一个tomcat服务,以便能够自动运行tomcat。然而,我遇到了一个问题,当我使用该服务启动tomcat时,它抛出错误。Tomcat may not be running.
java.net.ConnectException: Connection refused.....但是当我检查时,tomcat运行得很好,因为我能够访问我的localhost:8080。然后,当我调用服务停止时,tomcat不会停止。我的
我的xampp实例还没有启动,但是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 [