我正在使用带有最新更新的Centos 6.5.
我的问题是,每当我尝试连接到某些本地服务时,它就会挂起,例如:
wget的
wget 127.0.0.1
–2014-03-11 12:43:42– http://127.0.0.1/
Connecting to 127.0.0.1:80…
After a while timeout…
SSH
# ssh 127.0.0.1 -p 6060 -v
OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 127.0.0.1 [127.0.0.1] port 6060.
debug1: connect to address 127.0.0.1 port 6060: Connection timed out
ssh: connect to host 127.0.0.1 port 6060: Connection timed out
它会挂起来超时.
与telnet相同,与连接到irc服务器相同.外部连接正常运行…
netstat -tpln
# netstat -tpln
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:25 0.0.0.0:* LISTEN 589/sendmail