- 论坛徽章:
- 0
|
回复 4# HH106
[root@serverp61911407160003 sysconfig]# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN 2298/./hpiod
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 2665/mysqld
tcp 0 0 0.0.0.0:971 0.0.0.0:* LISTEN 2061/rpc.statd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2025/portmap
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2312/nginx
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 18023/proftpd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2335/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2347/cupsd
tcp 0 0 127.0.0.1:88 0.0.0.0:* LISTEN 2686/httpd
tcp 0 0 127.0.0.1:2207 0.0.0.0:* LISTEN 2303/python
[root@serverp61911407160003 sysconfig]# iptables -nvL
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination |
|