OK, so I got Genymotion working beautifully and I can already see how quickly this will speed up Android development longer term. However, I am having one problem currently that is keeping me from moving forward. I am unable to access a Rails server on my host machine from the Genymotion VM, and it appears to be a port issue of some kind. The reason I say that is because I can open a browser in my Nexus 4 VM, and navigate to
http://192.168.1.114
with no problem (my WampServer page shows up fine), but if I try to go to
http://192.168.1.114:3000
(where my rails server is running, and I can access it fine from a host browser) I get a net::ERR_CONNECTION_TIMED_OUT and see no activity in my rails log either. I've tried going through settings on the Android VM, the VirtualBox Manager, Genymotion itself, etc. to no avail, as well as turning off all firewalls completely.
Right now the VirtualBox Network is configured as
Adapter 1 - Host-only adapter
Adapter 2 - NAT
Any thoughts what might be causing this?
Okay,
its a Vb setting
cheat in your OS host file se that Ip to domain name for example:
192.168.1.114:3000 myrailserver.my.me
and that should work just fine
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.