Centos查看端口占用情况和开启端口命令
摘要:
Centos查看端口占用情况命令,比如查看80端口占用情况使用如下命令: lsof -i tcp:80 列出所有端口 netstat -ntlp 1、开启端口(以80端口为例) 方法一: /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT 写入修改 阅读全文
posted @ 2018-03-31 12:28 &大飞 阅读(221) 评论(0) 推荐(0) 编辑