Search code examples
fluttermacosgithubterminal

Can't access to Github's website on MacBook


I can't open the GitHub website on any browser and it was running before I'm not using any proxy server. when I'm trying to open it in the browser or connect via terminal cloning or any communication with that website it gives me an error. using MacBook(macOS Big Sur). enter image description here

enter image description here


Solution

  • The problem has been Solved by changing my IP For Github

    192.30.253.112 this was my Ip Adress For Githup befor I change it to

    140.82.112.4

    in /etc/hosts file by terminal

    after the change I cleared the cache memory by command:

    sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

    Then It opens ^_^.