Is there a way to access visual studio web server from another computer that share the same router? I tried connecting to the IP address but it didnt work. Is there a setting in VS? or firewall?
When you develop web projects in Visual Studio, you need a web server to test or run them. Visual Studio lets you test with different web servers, including IIS Express, Internet Information Services (IIS), External Hosts, or Custom Web Servers.
You can achieve this by installing IIS Express. Go to
http://www.microsoft.com/en-us/download/details.aspx?id=1038
Once installed, change your project setting to this:
Then go to
%userprofile%\Documents\IISExpress\config\applicationhost.config
and for the project change the binding to this:
<bindings>
<binding protocol="http" bindingInformation=":54715:" />
</bindings>
Note, you can also specify the bindings like this if you just want to limit it to your IP and machine name:
<binding protocol="http" bindingInformation="*:54715:localhost" />
<binding protocol="http" bindingInformation="*:54715:anishaalaptop" />
I debug my app over Wifi using my android app so I leave the binding open.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With