8
2
I've a site running on IIS on a Windows 8 virtual machine.
http://localhost/RTStreamer/Ticker.html
How do I access that site from outside the host machine? The host machine ip is 168.192.42.1
I've already changed the network of the virtual machine to "Bridged Network" but don't know what is the ip and port to access from the host machine network.
You'd get it the same way you would with ANY Windows machine. One way: type
ipconfig /all
in a command-line in the VM to get its current IP information. – Ƭᴇcʜιᴇ007 – 2014-08-01T17:44:29.207It's not that easy. I've been researching and maybe needing for port forwarding, etc. Why the negative vote? – DK39 – 2014-08-01T18:15:03.353
What's "not that easy"? What I've suggested is how you get the current IP address from the OS. You only need to forward ports if you have the firewall up, and the only port you'd need to forward for HTTP traffic is the usual port 80. What exactly have you tried already, and what were the results? – Ƭᴇcʜιᴇ007 – 2014-08-01T18:22:04.097
@DK39, are you clear that you need to get the IP from within the VM and not the host? Once you have that, you'll need to change your URI to point to the IP of the VM. For example, if your VM's IP address is 168.192.42.100, your URI will be http://168.168.42.100/REStreamer/Ticker.html. "localhost" should always redirect to the machine on which you requested the address, meaning that if you try to reach localhost on the host, you'll only get the host, not the VM. If you run it on the VM, you'll get the VM, not the host.
– Ickster – 2014-08-01T19:29:37.347