Linux下查看進程佔用端口:ubuntu
查看程序對應進程號:ps –ef|grep 進程名進程
REDHAT :查看進程號所佔用的端口號:netstat –nltp|grep 進程號grep
ubuntu:查看進程佔用端口號:netstat -anp|grep pid程序
Linux下查看端口號所使用的進程號:端口
使用lsof命令: lsof –i:端口號ps