Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have a website (MVC3), which for developement is hosted in IIS Express. (I've run into a bug of Cassini Devserver and had to upgrade...) Now, I'm wondering, is it possible to let other machines on my local net (behind router) see the site as hosted on my machine? (e.g. If I write http://my.local.ip:port into a browser on the same LAN as I am will the page load?)

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
415 views
Welcome To Ask or Share your Answers For Others

1 Answer

By default IIS Express serves only localhost requests. To serve external requests edit applicationhost.config file (located in %userprofile%documentsiisexpressconfig) and change localhost to '*' or your machine name. (remember for non-localhost binding you must be running as administrator or set URL acl as an administrator and then run iisexpress as non-administrator)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...