check the antivirus firewall and allow access visual studio to network. for example in nod32:
goto setting (f5) -> network->personal firewall->rules and zones
in the "zone and rule editor
" click "setup
" and find the vs 2010
or 12
or ... and allow access to network.