1

I have installed ubuntu 16.04 on my laptop using Virtual box. I have installed eclipse in it. I am doing some remote debugging for which I need to write the ip address of ubuntu in the code. When I run ifconfig it shows ip address 10.0.2.15.

When I entered this ip address and started the process, it failed. Although I can ping using ubuntu. In windows I have ip address 192.168.1.127. Can I get this series ip address in ubuntu.

Thanks

1
  • Maybe your firewall (check both host and VM) just blocks the request? Should be the one from ifconfig
    – derHugo
    Sep 21, 2017 at 6:35

1 Answer 1

2

Please switch your network settings to Bridged Adapter in the Virtualbox, then run ifconfig and now you should be able to get in there. And if any firewall is present fix that too.

enter image description here

3
  • Afaik this might not always work since bridged network may not work e.g. if host is connected via WiFi sometimes
    – derHugo
    Sep 21, 2017 at 6:36
  • I use it with wifi at times and it works Sep 21, 2017 at 6:38
  • Yeah I know m too but sometimes it doesn't ;)
    – derHugo
    Sep 21, 2017 at 6:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .