1. $ netstat -Aan |grep 8080

    f1000e0002321bb8 tcp 0 0 *.8080 *.* LISTEN

2. $ rmsock f1000e0002321bb8 tcpcb

    The socket 0xf1000e0002321808 is being held by proccess 5767286 (java) 

    ps: 5767286即是进程号

3. $ ps -ef |grep 5767286

    当然,如何是要杀进程的话,可以直接kill -9 5767286

相关文章:

  • 2022-01-13
  • 2021-06-24
  • 2022-12-23
  • 2021-12-15
  • 2021-08-18
  • 2021-05-29
  • 2022-12-23
  • 2021-11-18
猜你喜欢
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
  • 2021-11-18
  • 2021-11-08
相关资源
相似解决方案