How to enable external request in IIS Express?

TedTel picture TedTel · Jul 22, 2010 · Viewed 344.2k times · Source

How can I enable remote requests in IIS Express? Scott Guthrie wrote that is possible but he didn't say how.

Answer

Damian Edwards picture Damian Edwards · Jul 29, 2010

There's a blog post up on the IIS team site now explaining how to enable remote connections on IIS Express. Here is the pertinent part of that post summarized:

On Vista and Win7, run the following command from an administrative prompt:

netsh http add urlacl url=http://vaidesg:8080/ user=everyone

For XP, first install Windows XP Service Pack 2 Support Tools. Then run the following command from an administrative prompt:

httpcfg set urlacl /u http://vaidesg1:8080/ /a D:(A;;GX;;;WD)