Linux 上查看佔用指定端口的進程
在 Linux 上,如果想找出佔用某個 port 的進程,可使用 fuser 指令。
找出佔用 TCP port 8080 的進程:
- # fuser -v 8080/tcp
砍掉佔用 TCP port 8080 的進程:
- # fuser -k 8080/tcp
No Comments »
RSS feed for comments on this post. TrackBack URL
Leave a comment
You must be logged in to post a comment.