How to bind IIS Express so it handles requests made to ethernet adaptor?

100 Views Asked by At

I'm sharing a wifi connection from a Windows computer to a Mac through their ethernet adaptors, and I'm trying to setup IIS Express so it listens for requests being made from my Mac to the Windows ethernet address on port 64550. I'm getting a status 503 Service Unavailable error on Mac when attempting the request, however.

I'm not really sure what to bind IIS Express to. I've tried *:64550:localhost, *:64550:127.0.0.1, and *:64550:<ethernet-adaptor-address> with no luck.

I should note that I have also setup the advanced internet sharing settings in Windows to allow access to the service, where the internal/external ports are set to 64550 and each of the ip addresses just mentioned I've tried using as the service host ip, so I believe there should be a firewall rule created allowing access.

I should also note that I'm able to successfully make requests to IIS Express with a different network configuration, where both computers access internet through same wifi router and the router forwards requests to 64550 to Windows computer.

I'm using Windows 10, Mac OS 10, and Visual Studio Community 2015 (.NET Framework 4.6) with IIS Express version 10.0.10557.1000.

0

There are 0 best solutions below