无法杀死侦听端口8080的Java进程

时间:2019-12-16 11:20:58

标签: java macos process pid kill

端口8080上有一个监听程序,每次获得新的PID时我都无法杀死它

  

lsof -i tcp:8080

COMMAND PID  USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
java    809 user   42u  IPv6 0xd6c1091fd72f0f8f      0t0  TCP *:http-alt (LISTEN)
  

ps -ef 809

UID   PID  PPID   C STIME   TTY           TIME CMD
502   809     1   0 12:04   ??         0:09.14 /Library/Java/JavaVirtualMachines/jdk- 
12.0.1.jdk/Contents/Home/bin/java - 
Djava.util.logging.config.file=/usr/local/opt/tomcat/libexec/conf/logging.properties - 
Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 - 
Djava.protocol.handler.pkgs=org.apache.catalina.webresources - 
Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Dignore.endorsed.dirs= -classpath 
/usr/local/opt/tomcat/libexec/bin/bootstrap.jar:/usr/local/opt/tomcat/libexec/bin/tomcat-juli.jar - 
Dcatalina.base=/usr/local/opt/tomcat/libexec -Dcatalina.home=/usr/local/opt/tomcat/libexec  - 
Djava.io.tmpdir=/usr/local/opt/tomcat/libexec/temp org.apache.catalina.startup.Bootstrap start

我尝试了杀死-9 PID ,但是没有办法。请提出任何建议

0 个答案:

没有答案