使用netstat -nltp命令,提示: (No info could be read for “-p”: geteuid()=1001 but you should be root.)
sudo -i 切换为root用户即可。