[root@DatabaseLogic software]# service iptables status
表格:filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
[root@DatabaseLogic software]# service iptables stop
iptables:将链设置为政策 ACCEPT:filter [确定]
iptables:清除防火墙规则: [确定]
iptables:正在卸载模块: [确定]
[root@DatabaseLogic software]# service iptables status
iptables:未运行防火墙。
[root@DatabaseLogic software]# getenforce
Disabled
[root@DatabaseLogic software]#
[root@DatabaseLogic software]# service nxserver status
NX> 161 Enabled service: nxserver.
NX> 161 Enabled service: nxnode.
NX> 161 Enabled service: nxd.
[root@DatabaseLogic software]#
[root@DatabaseLogic software]# netstat -tupln | grep --color "/nx"
tcp 0 0 127.0.0.1:24088 0.0.0.0:* LISTEN 20307/nxserver.bin
tcp 0 0 127.0.0.1:7001 0.0.0.0:* LISTEN 20334/nxnode.bin
tcp 0 0 0.0.0.0:4000 0.0.0.0:* LISTEN 20315/nxd
tcp 0 0 127.0.0.1:12001 0.0.0.0:* LISTEN 20334/nxnode.bin
tcp 0 0 127.0.0.1:20001 0.0.0.0:* LISTEN 20314/nxserver.bin
tcp 0 0 127.0.0.1:25001 0.0.0.0:* LISTEN 20364/nxclient.bin
tcp 0 0 ::1:7001 :::* LISTEN 20334/nxnode.bin
tcp 0 0 :::4000 :::* LISTEN 20315/nxd
udp 4584 0 192.168.242.1:5353 0.0.0.0:* 20307/nxserver.bin
udp 4584 0 192.168.58.1:5353 0.0.0.0:* 20307/nxserver.bin
udp 18336 0 168.0.1.213:5353 0.0.0.0:* 20307/nxserver.bin
udp 0 0 0.0.0.0:5353 0.0.0.0:* 20307/nxserver.bin
[root@DatabaseLogic software]#