参考链接: https://blog.csdn.net/qwfys200/article/details/80837036 命令: $ sudo netstat -tupln 转载于:https://www.cnblogs.com/thoughtful-actors/p/10709754.html