[asp.net] How to access your website through LAN in ASP.NET

I have an asp.net web-page application and i want it to be accessed using a local area network(LAN) or wireless area network(WLAN).

I do not know where to start. Is there something that i will configure in order for others to access my web-page??

I would really appreciate your answer, thanks a lot.. (^_^)...

This question is related to asp.net asp.net-2.0

The answer is


If you use IIS Express via Visual Studio instead of the builtin ASP.net host, you can achieve this.

Binding IIS Express to an IP Address


You will need to configure you IIS (assuming this is the web server your are/will using) allowing access from WLAN/LAN to specific users (or anonymous). Allow IIS trought your firewall if you have one.

Your application won't need to be changed, that's just networking problems ans configuration you will have to face to allow acces only trought LAN and WLAN.


You may also need to enable the World Wide Web Service inbound firewall rule.

On Windows 7: Start -> Control Panel -> Windows Firewall -> Advanced Settings -> Inbound Rules

Find World Wide Web Services (HTTP Traffic-In) in the list and select to enable the rule. Change is pretty much immediate.