最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Could Not Resolve Host github.com - Stack Overflow

programmeradmin0浏览0评论

Though I have the same problem that is in this question, But I am facing another problem i.e, even / 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 / 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

Though I have the same problem that is in this question, But I am facing another problem i.e, even https://github./ 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./ 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
Share Improve this question edited May 23, 2017 at 10:24 CommunityBot 11 silver badge asked Dec 31, 2014 at 6:59 Varun ChakervartiVarun Chakervarti 1,0428 silver badges24 bronze badges 19
  • 1 Run a basic diagnostic test on your WiFi. 'ping 8.8.8.8' -- if it works, you got a DNS problem. If not, you are not connected to the internet at all. Ping your router, and if there is no response, there is your problem. – Aroll605 Commented Dec 31, 2014 at 7:06
  • 1 Run 'ping 8.8.8.8' in Terminal and post the output. – Aroll605 Commented Dec 31, 2014 at 7:09
  • 1 Can you hit the ip tracert 192.30.252.131 – epascarello Commented Dec 31, 2014 at 7:15
  • 1 This definately looks like a DNS issue, you can access sites via IP but not through the URL. Not programming related like someone else has already said. But It looks like you need to get into your router and setup your DNS servers IP, I would remend setting to Google's DNS servers 8.8.8.8 and 8.8.4.4. – Scriptable Commented Dec 31, 2014 at 12:01
  • 1 Indian Government Orders 32 Web Sites Blocked, Including GitHub, Archive.Org, Pastebin, DailyMotion And Vimeo – epascarello Commented Jan 1, 2015 at 4:58
 |  Show 14 more ments

1 Answer 1

Reset to default 6

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)
发布评论

评论列表(0)

  1. 暂无评论