nuget 尝试通过路由器上的 privoxy 端口连接,即使 privoxy 被禁用
nuget trying to connect via privoxy port on router even though privoxy is disabled
我正在使用 DD-WRT v3.0-r30700M kongac (09/27/16),我使用了 privoxy 几天但再次禁用它,因为它导致某些应用程序出现连接错误。
不知何故 Nuget 仍在尝试通过代理连接并且无法加载任何包,结果错误消息是:
[nuget.org] Unable to load the service index for source https://api.nuget.org/v3/index.json.
An error occurred while sending the request.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 192.168.1.1:8118
虽然在 chrome 中浏览有效,但据我所知,在 devenv
中没有启用代理
似乎这解决了我的问题,在文件 C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe.config[= 中将 ipv6 enabled 设置为 false 11=]
<system.net>
<settings>
<ipv6 enabled="false"/>
</settings>
</system.net>
我正在使用 DD-WRT v3.0-r30700M kongac (09/27/16),我使用了 privoxy 几天但再次禁用它,因为它导致某些应用程序出现连接错误。
不知何故 Nuget 仍在尝试通过代理连接并且无法加载任何包,结果错误消息是:
[nuget.org] Unable to load the service index for source https://api.nuget.org/v3/index.json.
An error occurred while sending the request.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 192.168.1.1:8118
虽然在 chrome 中浏览有效,但据我所知,在 devenv
中没有启用代理似乎这解决了我的问题,在文件 C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe.config[= 中将 ipv6 enabled 设置为 false 11=]
<system.net>
<settings>
<ipv6 enabled="false"/>
</settings>
</system.net>