I have windows 7 as host and Ubuntu desktop as guest OS in vmware, all settings set as recommended by vmware, and windows 7 has VPN to access to internet.
In Ubuntu I’ve installed rails and run unicorn server, so i can go to localhost:8080 inside virtual machine, it works fine.
Now I need access to unicorn server from host machine. How to set access to local unicorn server? Thanks
I also run vmware with a Ubuntu guest OS. Here are the steps I take to connect:
Open terminal in Ubuntu guest OS and run
ifconfig, you should see something like this:Then, you should be able to connect from your windows host OS using the IP assigned to Ubuntu Guest OS. In this example it would be:
http://172.16.198.178:8080If that doesn’t work, then there might be a firewall set up. Check the Windows Firewall settings on your Windows Host OS, and also check that iptables is not blocking traffic on the Ubuntu side.