windows和Linux系统中怎么关闭8080端口占用?
windows和Linux系统中怎么关闭8080端口占用?1. windows中打开cmdnetstat -ano | findstr 8080找到进程的pid,如:TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 6148关掉pidtaskkill /pid 6148 -t -f2. Linux找到端口对应的进...
·
windows和Linux系统中怎么关闭8080端口占用?
1. windows中
- 打开cmd
netstat -ano | findstr 8080
- 找到进程的pid,如:
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 6148
- 关掉pid
taskkill /pid 6148 -t -f
2. Linux
- 找到端口对应的进程的pid, 比如找到的是123
netstat -anp |grep 8080
- 关掉进程
kill -9 PID 123更多推荐


所有评论(0)