Windows host can ping VM, but VM can't ping host.
Posted: 20. Sep 2013, 06:42
Hey Guys,
Thanks in advance for any help you can offer.
I have had a look through some of the older forum posts regarding network connectivity issues and have tried them, but nothing seems to be helping.
What I'm trying to do is run a Redhat Linux VM image specifically designed to run ADempiere. The idea is to run the image on VirtualBox in the background, and then use it as a server to access ADempiere via the hosts web browser. I'm an engineering student currently doing an Economics and Finance Course, and part of it is to learn how to use ADempiere and do a presentation to a company about its benefits and features and then compare it to the ERP software they are currently using.
The frustrating thing is, is that I had it working (after having the same issues issues), but now, even with the same steps I took before, I can't get it to work again. I've been using the host-only network adapter, as I don't want to have to rely on a real network in order to demonstrate ADempiere (I am unlikely to have any form of network access when visiting the company).
Initially, I had the same problem I am having now which is that I can ping the VM from Windows, but the VM cannot ping back (and I couldn't connect to the ADempiere service via the VM's IP/Port combination). I was using the default IP addresses assigned by the host-only adapter's inbuilt DHCP server. After trying all sorts of static IP addresses, I found a video saying that a lot of issues can be fixed by doing a driver update to the host-only adapter. I followed the videos instructions, went into Device Manager, right clicked on the Host-Only Adapter and instructed windows to automatically update the drivers. Great, it worked! I was playing around with ADempiere, going through the process of sales order, material receipts and the like. When I had finished, I thought I'd go ahead and make a fresh VM from the OVF file so I had a clean platform for the demonstration I have to do on Monday.
Being the silly person I am, I out right deleted the old VM. After loading up the new one, I went through all the steps, used the same host-only adapter, same IP addresses. Nothing. Typing in 192.168.56.101:8080 just causes firefox to sit there loading indefinitely.
I went to google and spent the better part of yesterday trying out different solutions. I have:
1. Deleted the host-only adapter, created a new one, allowed the VM to receive an IP via the DHCP server ensuring it is on the same subnet/IP range as the host (only changing IP address of the host-only adapter via the VirtualBox preferences page only). Still no connectivity.
2. Uninstalled virtualbox, deleted all remains of the host-only adapter drivers, reinstalled virtualbox, updated the host-only adapter drivers again. Still no connection even though my computer can ping the VM.
3. Turned off windows firewall.
4. Disabled all other network adapters except the host-only adapter.
5. Tried a combination of the above in different orders. Restarting after every step. Closing Virtual Box, waiting a few minutes, then opening it again between every step.
I have attached screenshots of the all of the things I have mentioned above.
I am by no means a VM expert, but everything I know about networking says they should be able to connect.
Any further suggestions would be greatly appreciated.
Thanks in advance for any help you can offer.
I have had a look through some of the older forum posts regarding network connectivity issues and have tried them, but nothing seems to be helping.
What I'm trying to do is run a Redhat Linux VM image specifically designed to run ADempiere. The idea is to run the image on VirtualBox in the background, and then use it as a server to access ADempiere via the hosts web browser. I'm an engineering student currently doing an Economics and Finance Course, and part of it is to learn how to use ADempiere and do a presentation to a company about its benefits and features and then compare it to the ERP software they are currently using.
The frustrating thing is, is that I had it working (after having the same issues issues), but now, even with the same steps I took before, I can't get it to work again. I've been using the host-only network adapter, as I don't want to have to rely on a real network in order to demonstrate ADempiere (I am unlikely to have any form of network access when visiting the company).
Initially, I had the same problem I am having now which is that I can ping the VM from Windows, but the VM cannot ping back (and I couldn't connect to the ADempiere service via the VM's IP/Port combination). I was using the default IP addresses assigned by the host-only adapter's inbuilt DHCP server. After trying all sorts of static IP addresses, I found a video saying that a lot of issues can be fixed by doing a driver update to the host-only adapter. I followed the videos instructions, went into Device Manager, right clicked on the Host-Only Adapter and instructed windows to automatically update the drivers. Great, it worked! I was playing around with ADempiere, going through the process of sales order, material receipts and the like. When I had finished, I thought I'd go ahead and make a fresh VM from the OVF file so I had a clean platform for the demonstration I have to do on Monday.
Being the silly person I am, I out right deleted the old VM. After loading up the new one, I went through all the steps, used the same host-only adapter, same IP addresses. Nothing. Typing in 192.168.56.101:8080 just causes firefox to sit there loading indefinitely.
I went to google and spent the better part of yesterday trying out different solutions. I have:
1. Deleted the host-only adapter, created a new one, allowed the VM to receive an IP via the DHCP server ensuring it is on the same subnet/IP range as the host (only changing IP address of the host-only adapter via the VirtualBox preferences page only). Still no connectivity.
2. Uninstalled virtualbox, deleted all remains of the host-only adapter drivers, reinstalled virtualbox, updated the host-only adapter drivers again. Still no connection even though my computer can ping the VM.
3. Turned off windows firewall.
4. Disabled all other network adapters except the host-only adapter.
5. Tried a combination of the above in different orders. Restarting after every step. Closing Virtual Box, waiting a few minutes, then opening it again between every step.
I have attached screenshots of the all of the things I have mentioned above.
I am by no means a VM expert, but everything I know about networking says they should be able to connect.
Any further suggestions would be greatly appreciated.