Visual Studio 无法连接到任何在线资源

Visual Studio cannot connect to any online ressource

我正尝试在 Windows Server 2008 R2 上 运行 VS 2013 Premium(更新 4)。

我遇到的问题是,我无法连接到互联网上的任何资源。 不管我是否尝试在起始页上查看新闻或尝试访问扩展库或 NuGet 包,我总是会收到如下错误:

We are unable to download content due to network issues

在起始页上。通过 NuGet 我得到这个错误:

Unable to connect to the remote server

我尝试将配置行添加到 devenv.exe.config 但我没有用。我添加了这里提到的标签:Cannot connect to any online resource

只有当我尝试连接到 Visual Studio 图库时,我才会收到不同的消息:

No connection could be made because the target machine actively refused it <ip>

VS内部浏览器正常运行。 IE8 也能正常工作。

编辑: 由于添加了不同的代理服务器,我解决了这个问题。现在它的工作!

执行以下操作:

  1. Uninstall NuGet
  2. Restart Visual Studio
  3. Install Nuget

你准备好了。

NuGet 的另一个问题可以通过将代理设置直接添加到 NuGet 配置文件来解决。现在它对我来说真的很好用。