|
在httpd.conf文件中设置其它端口(listen *:8080),通过互联网(http://......:8080)可以访问,但设置成80后不能访问!
用netstat -anp检查端口情况,80端口又没有被占用(检查结果如下),还望高人指点!
# netstat -anp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN 956/
tcp 0 0 127.0.0.1:32769 0.0.0.0:* LISTEN 1082/xinetd
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 1082/xinetd
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 1082/xinetd
tcp 0 0 0.0.0.0:9098 0.0.0.0:* LISTEN 1082/xinetd
tcp 0 0 0.0.0.0:109 0.0.0.0:* LISTEN 1082/xinetd
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 1082/xinetd
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 1082/xinetd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 937/
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 17205/httpd
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 1318/X
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 1265/perl
tcp 0 0 10.0.213.208:53 0.0.0.0:* LISTEN 1053/
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1053/
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 12204/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 21745/cupsd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 1101/
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 1053/
tcp 0 248 10.0.213.208:22 192.168.0.200:4815 ESTABLISHED 7049/sshd
udp 0 0 0.0.0.0:32768 0.0.0.0:* 956/
udp 0 0 0.0.0.0:32769 0.0.0.0:* 1053/
udp 0 0 0.0.0.0:10000 0.0.0.0:* 1265/perl
udp 0 0 10.0.213.208:53 0.0.0.0:* 1053/
udp 0 0 127.0.0.1:53 0.0.0.0:* 1053/
udp 0 0 0.0.0.0:708 0.0.0.0:* 956/
udp 0 0 0.0.0.0:111 0.0.0.0:* 937/
udp 0 0 0.0.0.0:631 0.0.0.0:* 21745/cupsd |
|