ERROR: transport error 202: bind failed: Address already in use ERROR: JDWP Transport dt_socket fail

Tomcat报错

[[email protected] bin]# ./restart.sh
sh: line 1: kill: (32001) - No such process
Using CATALINA_BASE: /data1/apache-tomcat-7.0.84
Using CATALINA_HOME: /data1/apache-tomcat-7.0.84
Using CATALINA_TMPDIR: /data1/apache-tomcat-7.0.84/temp
Using JRE_HOME: /
Using CLASSPATH: /data1/apache-tomcat-7.0.84/bin/bootstrap.jar:/data1/apache-tomcat-7.0.84/bin/tomcat-juli.jar
jpda starting…
Tomcat started.
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]

发现是其他人在调试,端口被占用

解决办法:
1、s -ef |grep java
ERROR: transport error 202: bind failed: Address already in use ERROR: JDWP Transport dt_socket fail
2、kill -9 22460
ERROR: transport error 202: bind failed: Address already in use ERROR: JDWP Transport dt_socket fail