Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access host from Genymotion emulator

I try to connect from my app to host using IP address 192.168.56.1, but without success. I checked in ipconfig and there is a Virtualbox connnection with above mentioned IP. Can someone help to fix it?

like image 925
Konstantin Milyutin Avatar asked Aug 27 '13 10:08

Konstantin Milyutin


People also ask

Can Genymotion Desktop run in a virtual machine?

Genymotion Desktop has been designed to run in a physical environment. For this reason, Genymotion Desktop will not work if run in a virtual machine, a server nor a Cloud instance.


2 Answers

try this ip address: 10.0.3.2 It should work

like image 173
ngunha02 Avatar answered Sep 28 '22 04:09

ngunha02


I had the same problem as OP, switching to Bridged for Adapter 2 rectified the problem for me.

VirtualBox > Settings > Network  > Adaptor 2  Attached to: Bridged Adapter Name: en0: Wi-Fi (airport) 
like image 34
Sal-laS Avatar answered Sep 28 '22 03:09

Sal-laS