我在 CentOS 6 上使用 VPS 主机。
我已经安装了Sendmail,但它没有监听任何端口。我检查过,IPTables 被禁用(或者我猜是停止了; service iptables status
命令返回iptables: Firewall is not running.
这是netstat -plnt
输出
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1538/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1186/master
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 11274/mysqld
tcp 0 0 :::22 :::* LISTEN 1538/sshd
tcp 0 0 ::1:25 :::* LISTEN 1186/master
tcp 0 0 :::80 :::* LISTEN 14173/httpd …
Run Code Online (Sandbox Code Playgroud)