Caused by: java.net.UnknownHostException: www.baidu.com: Temporary failure in name resolution
解决办法:
编辑ifcfg-eth0
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DNS1=192.168.9.4
NETMASK=255.255.252.0
这两个修改为
DNS1=192.168.9.16
NETMASK=255.255.255.0
然后重启网络
/etc/init.d/network restart
最
原创
2015-01-06 09:47:15 ·
8840 阅读 ·
0 评论