Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable external request in IIS Express?

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

like image 817
TedTel Avatar asked Jul 22 '10 21:07

TedTel


People also ask

Can IIS Express be accessed remotely?

Normally when you run an application in IIS Express, it's only accessible on http://localhost:[someport]. In order to access it from another machine, it needs to be bound to your public IP address as well.


1 Answers

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)

like image 101
Damian Edwards Avatar answered Oct 19 '22 11:10

Damian Edwards