从我的一台服务器上获取一个特定的URL会不断超时.此框中的所有其他网址都可以正常工作.这个网址可以在我拥有的任何其他框中正常工作.这是输出:
wget -T 10 http://www.fcc-fac.ca --2011-07-14 14:44:29-- http://www.fcc-fac.ca/ Resolving www.fcc-fac.ca... 65.87.238.35,207.195.108.140 Connecting to www.fcc-fac.ca|65.87.238.35|:80... Failed: Connection timed out. Connecting to www.fcc-fac.ca|207.195.108.140|:80... Failed: Connection timed out
你能告诉我可能出现的问题吗?我该如何排除故障?我正在使用Ubuntu 11.04(GNU / Linux 2.6.38-8-server x86_64)
非常感谢你提前和原谅我的无知无知:)
ping,telnet,nc www.fcc-fac.ca 80 – 全都挂了.但是,其他一些很容易实现的网址虽然只有部分主机可以ping通.
traceroute并没有告诉我多少:
7 rx0nr-access-communications.wp.bigpipeinc.com (66.244.208.10) 148.834 ms 149.018 ms 148.940 ms 8 sw-1-research.accesscomm.ca (24.72.3.9) 158.901 ms 159.805 ms 160.162 ms 9 65.87.238.126 (65.87.238.126) 150.069 ms 148.861 ms 148.846 ms 10 * * * ... 30 * * *
非常感谢您的回答!
我认为问题是wget没有处理好IPv6地址,DNS服务器正在为该站点发送IPv6.对不起,如果我误解了你的问题.检查那些测试:
原文链接:https://www.f2er.com/ubuntu/348651.htmlhmontoliu@ulises:~$wget -T10 http://www.fcc-fac.ca --2011-07-14 16:44:34-- http://www.fcc-fac.ca/ Resolving www.fcc-fac.ca... Failed: Connection timed out. wget: unable to resolve host address `www.fcc-fac.ca'
如果我强制使用IPv6,因为我认为您的问题与之相关,则会失败:
hmontoliu@ulises:~$wget -6 http://www.fcc-fac.ca --2011-07-14 16:40:44-- http://www.fcc-fac.ca/ Resolving www.fcc-fac.ca... Failed: No address associated with hostname. wget: unable to resolve host address `www.fcc-fac.ca'
但是,如果我强制使用IPv4,则会下载索引页面
hmontoliu@ulises:~$wget -4 http://www.fcc-fac.ca --2011-07-14 16:40:56-- http://www.fcc-fac.ca/ Resolving www.fcc-fac.ca... 65.87.238.35,207.195.108.140 Connecting to www.fcc-fac.ca|65.87.238.35|:80... connected. HTTP request sent,awaiting response... 200 OK Length: 6554 (6,4K) [text/html] Saving to: `index.html'