Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accessing IIS 7.5 Express from another machine on the intranet

I am running on VS 2010 Pro with SP1 Beta and IIS 7.5 Express. Everything is working fine, but I am trying to access the site from another machine on our intranet and it does not seem to see anything, I simply get a:

"Oops! This link appears to be broken."

error in Chrome. Even if I am on the machine and type in:

123.45.6.8/SiteName

instead of:

localhost/SiteName

(which works), I get the error. Can this be done with IIS 7.5 Express? Thank you.

like image 520
naspinski Avatar asked Feb 07 '11 18:02

naspinski


People also ask

Can I access IIS Express from another machine?

It will work with anything running on localhost. Just signup, run little excutable and whatever you run on localhost gets public URL you can access from anywhere. This is good for showing stuff to your remote team mates, no fiddling with IIS setup or firewalls.

Where is the IIS Express config file?

IIS Express uses a default, user-specific ApplicationHost. config file to allow many users to share the same computer without interfering with other user's settings. This file is located in the %userprofile%\Documents\IISExpress\config folder or %userprofile%\My Documents\IISExpress\config folder, depending on your OS.


1 Answers

IIS Express by default only supports local connections - according to a statement by ScottGu, there should be an option to explicitly enable remote connections, however.

See this blog post: Serving External traffic with WebMatrix for how to do this.

like image 124
marc_s Avatar answered Oct 15 '22 07:10

marc_s