Are you behind a proxy or something?
Once I faced the very same issue when working from my Mom’s. The cause was a “transparent” proxy her Internet access provider had between subscribers and “real” Internet, making my hosts file useless.
First I tried asking their support to help, but they demanded one week to find and maybe solve the issue.
The final solution was using an SSH tunnel, configuring the hosts file on remote SSH server.
I don’t know how to configure SSH tunnels on Windows, unfortunately.