zigomir
zigomir

Reputation: 985

IIS Express (WebMatrix) open for outside connections

I've already enabled firewall rules for IIS Express (HTTP Traffic In) and IIS Express (HTTPS Traffic In) on ports 80 and 2012 (this one is used in WebMatrix), but I can't connect to the server from my LAN. WebMatrix is running on a virtual Windows 7 machine.

Is this a limit of IIS Express?> Yes - you can redistribute IIS Express with your applications. There are no connection limits. ScottGu's blog

Upvotes: 10

Views: 6385

Answers (3)

Knox
Knox

Reputation: 2919

I was trying your same configuration and was unsuccessful in opening the Windows 7 firewall to just IIS Express. I was successful by opening the port I was using (80) to any application rather than restricting to just one application. My guess is that IIS Express goes through a service (HTTP.SYS?) and that needs to be allowed but I have not yet researched that.

Upvotes: 0

Lazarus
Lazarus

Reputation: 43094

It is possible though it takes some effort, there's a great blog post on this here and Vaidy talks about IIS Developer Express on the CodeCast podcast here.

Upvotes: 3

Rup
Rup

Reputation: 34418

Is it listening on local ports only, i.e. do you see 127.0.0.1:80 not 0.0.0.0:80 on netstat -an?

I haven't played with IIS Express yet so I don't know what the default is or how to configure this.

Upvotes: 1

Related Questions