Macos – Why would the computer suddenly refuse to open one particular website

browserfirefoxmacos

I've had this happen once before recently on a different site, and I don't know what I did to fix it.

Now my computer will not open any page on stackoverflow.com. When I try, I get the error message:

Gateway Timeout: can't connect to remote host

or

The connection was reset. The connection to the server was reset while
the page was loading. The site could be temporarily unavailable or too
busy. Try again in a few moments.

This is odd, especially because it doesn't seem to matter what browser I'm using. I'll encounter the error in Firefox, for instance, but then the same thing occurs a few minutes later in Safari. Or Chrome.

Chrome says:

The connection to stackoverflow.com was interrupted

and at the bottom of the dialog:

Error code: ERR_CONNECTION_RESET

When I try to access the site from a different computer, no problem.

I've removed all cookies that I can identify as coming from stackoverflow.com and quit and re-started the browser. No difference.

Ideas?

Best Answer

  • You might have an entry in your /etc/hosts file preventing you from connecting to stack overflow or you could have a firewall that is preventing you from connecting to stack overflow. You could try

    sudo ipfw list
    

    this will print any blocks on the computer