netstat -an 查看網(wǎng)絡(luò)端口

lsof -i :port,使用lsof -i :port就能看見(jiàn)所指定端口運(yùn)行的程序,同時(shí)還有當(dāng)前連接。

nmap 端口掃描