RenegadeAndy
RenegadeAndy

Reputation: 5690

ASP.NET Web Project deployed to IIS Express not accessible outside localhost

I have deployed my C# ASP.NET Visual Studio Express 2013 project via the IIS internal Express webserver service.

Locally its great - I can access it at : http://localhost:56473/hello

However if from another PC on my internal network I try to access it via :http://192.168.0.2:56473/hello it gets an http 400 bad request!?

Any ideas - anything obvious I am missing?

Upvotes: 1

Views: 1890

Answers (2)

EdSF
EdSF

Reputation: 12341

Are you on a desktop (vs. web server)?

On a desktop, IIS Express doesn't allow external connections (obviously for security reasons). Having said that and if you know what you're getting into, here's Scott Hanselman on how to do that.

Upvotes: 3

Brian Webb
Brian Webb

Reputation: 1156

IIS Express isn't for external hosting.

If you want to see your work from an external client, install IIS from the programs and features.

Control Panel > Programs and Features > Turn Windows Features on or off > Internet Information Services.

Upvotes: 2

Related Questions