tomcat - Tomcat启动失败,关闭端口8005已被使用

标签 tomcat port

ant -f C:\\Users\\authentic\\Documents\\NetBeansProjects\\WebApplication3 -Dnb.internal.action.name=run -Ddirectory.deployment.supported=true -DforceRedeploy=false -Dnb.wait.for.caches=true -Dbrowser.context=C:\\Users\\authentic\\Documents\\NetBeansProjects\\WebApplication3 run
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
Starting of Tomcat failed, the shutdown port 8005 is already in use.
C:\Users\authentic\Documents\NetBeansProjects\WebApplication3\nbproject\build-impl.xml:1045: Deployment error: Starting of Tomcat failed, the shutdown port 8005 is already in use.
See the server log for details.
BUILD FAILED (total time: 2 seconds)

enter image description here

当我更改 tomcat 端口时,收到此错误“Tomcat 启动失败,关闭端口 8005 已在使用中。”

最佳答案

将关闭端口号更改为 8006 或 8004。对我有用 在 NetBeans 中通过“工具”->“服务器”->“关闭端口”进行更改

关于tomcat - Tomcat启动失败,关闭端口8005已被使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46266986/

相关文章:

java - 即使进程已停止,如何在Linux中找到进程(Java)的端口

jquery - 使用 Tomcat 和 JQuery 的 Spring/Hibernate 项目

java - Apache + Tomcat部署中Tomcat线程池的行为

tomcat - spring-boot中tomcat访问日志的位置和名称如何配置?

apache - 如何在现有 LAMP 服务器上添加 Tomcat 7 虚拟主机?

linux - Linux 内核(3.4.34)在 nat 设备上打开端口?

java - 为什么 JAR 在放入 WAR 库中时可以正常工作,但在共享 tomcat 库中却不能正常工作?

java - 使用Tomcat启动Spring Boot时的用户名和密码是什么?

c# - 将两个 UDP 客户端连接到一个端口(发送和接收)

apache - XAMPP Apache启动错误