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

Lig*_*ins 2 port tomcat

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)
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

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

小智 5

将关闭端口号更改为 8006 或 8004。为我工作在 NetBeans 上通过工具 -> 服务器 -> 关闭端口 Cange 它