1 . Linux 下 查看
netstat -anp|grep 端口號
例如輸入
netstat -anp|grep 8080
停止進程號 kill -9 進程號
kill -9 8866
2. window下
netstat -ano|findstr 端口號
停止進程號
taskkill /pid 進程id -f
1 . Linux 下 查看
netstat -anp|grep 端口號
例如輸入
netstat -anp|grep 8080
停止進程號 kill -9 進程號
kill -9 8866
2. window下
netstat -ano|findstr 端口號
停止進程號
taskkill /pid 進程id -f