I'am running Windows 10 on OS X using Parallels Desktop (network is in SHARED mode). I need to access web applications created on Visual Studio and running on IIS 10 from the host. For example for a generic application running on Windows at http://localhost:1654 I would like to access it from Mac browser with something like http://[ip_virtual_machine]:1654.
The first thing I did was to completely shutdown the Windows firewall, disabled it on public and private networks and also disabled the Firewall service in services.msc. Next I've checked the ip addresses of the host and the virtual machine. Running ifconfig on the Mac I get that the IP address of the virtual machine is 10.211.55.2 while running ipconfig on Windows I get that the IP address is of the VM is 10.211.55.3 (with gateway 10.211.55.1).
I've tried to access the web application using both http://10.211.55.2:1654/ and http://10.211.55.3:1654/ but with no luck. With the former I get a Bad Request - Invalid Hostname response, while with the latter I get ERR_CONNECTION_REFUSED.
In case the firewall was still doing something under the hood, I've also added an inbound rule to allow connections for port 1654, but same result.
I've also noticed one thing: in the applicationhost file in C:\Windows\System32\inetsrv\config\applicationHost.config there is not any reference to my web applications created in Visual Studio. AFAIK when I run a web application in Visual Studio on IIS the binding should be added to the applicationhost file, but there are no entries for any of my web applications. May I have some problems with IIS?
Another thing: the other way around works. I can access a node.js local server on my Mac from the virtual machine using http://10.211.55.2:[port].
But I need to access from Mac to Windows IIS. How can I do that?