今天跑项目遇到了下面的异常:
Unable to locate the server named "localhost" --- the server does not have a DNS entry. Perhaps there is a misspelling in the server name, or the server no longer exists. Double-check the name and try again.
我的原因是因为这边上网是使用代理服务,所以需要通过设置跳过本地代理服务,方法如下:
打开IE浏览器--》Internet选项--》连接--》局域网设置--》“跳过本地地址的代理服务器”一行进行勾选,确定后重启浏览器即可