一般来说能ping通服务器说明网没问题
这是可以查看一下防火墙的设置和ip的屏蔽设置
/etc/init.d/iptables status 查看防火墙状态
vim /etc/hosts.allow
vim /etc/hosts.deny