Running a VM on a Mac for a .NET backend, I have the following setup:
Parallels 8 (Shared Network), Win 8, IIS Express 8 (not run as admin I think), Visual Studio 2012 Epress
ACL via elevated command line:
netsh http add urlacl url=http://10.211.55.3:29588/ user=everyone
applicationhost.config
<bindings>
<binding protocol="http" bindingInformation="*:49288:localhost" />
<binding protocol="http" bindingInformation="*:49288:10.211.55.3" />
</bindings>
The usual tutorials about this topic use the win8 hostname, which doesn't work in my case. I have to use the direct IP address. The other thing that is unusual here is that I have to leave the localhost in the bindings, otherwise Visual Studio can't start IIS Express (Error).
Above works except that the backend becomes unresponsive after a minute or so. It's like the server goes to sleep. On browser-refresh (Mac side) I get a timeout, then the requests make it through again. On the Win8 side, the backend is repsonsive all the time.
Does somebody have an idea what I'm doing wrong?