if you are using proxy to connect the network, the hosts file may not work for browser,
but the ping is ok, ping will return the correct ip address you set in hosts file,i haven’t found a solution to make it working, since if not set the proxy, network will totally not work.
hosts文件为什么对浏览器没用呢,而ping返回来的又是正确的IP呢? 有可能是你正在使用代理上网,
目前我也不知道怎么解决这个问题, 因为不设代理的话,网络就完全不能用了