查看端口号:netstat -anp 结束端口号:sudo iptables -A INPUT -p tcp --dport 8012 -j DROP" 转载于:https://www.cnblogs.com/yn-cn/p/9068156.html