问题描述
虽然我有同样的问题,在这个,但我面临另一个问题,即,即使未在浏览器中运行,并显示此网页不可用,并且在我安装Heroku后发生。无法从终端访问github,甚至不能访问来自浏览器。
诊断后,我知道这个问题与我的WiFi有关,因为当我尝试打开在移动使用移动数据,它是开放的,但是当我连接我的手机到WiFi然后同样的问题,即这个网页是不可用的,当我在我的笔记本电脑上使用移动数据网络,但我可以访问该网站,但使用WiFi时此网页不可用。
我是运行Ubuntu(Linux),使用Windows-7进行双启动
诊断结果:
8.8.6.8(8.8.8.8)56(84)字节的数据。P> @ Aroll605
PING 8.8.8.8
来自8.8.8.8的64字节:icmp_seq = 1 ttl = 57时间= 144 ms
来自8.8.8.8的64字节:icmp_seq = 2 ttl = 57时间= 71.4 ms
来自8.8 .8.8:icmp_seq = 3 ttl = 57时间= 192 ms
来自8.8.8.8的64字节:icmp_seq = 4 ttl = 57 time = 112 ms
来自8.8.8.8的64字节:icmp_seq = 5 ttl = 57时间= 137毫秒
来自8.8.8.8的64字节:icmp_seq = 6 ttl = 57时间= 58.0毫秒
来自8.8.8.8的64字节:icmp_seq = 7 ttl = 57时间= 83.6毫秒
来自8.8.8.8的64个字节:icmp_seq = 8 ttl = 57时间= 104 ms
来自8.8.8.8的64字节:icmp_seq = 9 ttl = 57 time = 128 ms
@epascarello
未知主机192.30.252.131
这绝对看起来像一个DNS问题,您可以访问网站通过IP但不通过URL。
您需要配置您的路由器DNS设置,我个人会将它们设置为Google的DNS服务器
8.8.8.8(primary)
8.8.4.4(secondary)
Though I have the same problem that is in this question, But I am facing another problem i.e, even https://github.com/ is not running in the browser and showing that this webpage is not available and this happens after I installed Heroku.
Cannot access github from terminal and not even from browser.
After diagnosis I get to know that this problem is related to my WiFi because when I try to open https://github.com/ in mobile using mobile data, It is opening but when I connect my mobile to WiFi then same problem i.e, this webpage is not available and when I use mobile data internet in my laptop I am able to access the site but when using WiFi this webpage is not available.
I am running Ubuntu(Linux), dual boot with Windows-7
Diagnosis Results:
@Aroll605
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=144 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=57 time=71.4 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=57 time=192 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=57 time=112 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=57 time=137 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=57 time=58.0 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=57 time=83.6 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=57 time=104 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=57 time=128 ms
@epascarello
unknown host 192.30.252.131
This definately looks like a DNS issue, you can access sites via IP but not through the URL.
You need to configure your routers DNS settings, personally I would set them to Google's DNS servers
8.8.8.8 (primary)
8.8.4.4 (secondary)
这篇关于无法解析主机github.com的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!