문제

Okay, here's another weird one...

I have installed and setup an in house nuget server for our company - it is running the latest version on nuget (2.2.31210.9045). I can hit the url in my browser (http://{server}) and (http://{server}/nuget) and (http://{server}/nuget/packages) and get all the expected responses.

However, in Visual Studio 2012 I added http://{server}/nuget/ as a custom feed and when I load up the package manager, i get "The remote server returned an error: (503) Server Unavailable."

I tried this on a few other coworkers' machines and they are able to browse the packages on the server, it seems to only be me.

I cannot find any information on this, or how to debug it. I'm trying to figure out if there is a way to reset this or see if there are some troubleshooting steps i can take to figure out what might be going on.

Note: I have had issues before with network connectivity and my install of vs2012 (resolved here)

도움이 되었습니까?

해결책

After trying everything I could think of multiple times without success, I ran across this:

http://wangz.itysc.com/2012/08/nuget-install-package-remote-server.html

Tony says he had a similar problem with VS2010 (and I do have 2010 installed) so, out of desperation I installed that Service Pack (which doesn't appear to be related) and it magically fixed it in VS2012!

다른 팁

try the following 2 commands

netsh http delete urlacl url=http://+:80/  
netsh http delete urlacl url=http://+:443/

then restart visual studio and check. Plese refer here

Good luck.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top