开发者

How to access Oracle DB in VirtualBox from Host (windows)

开发者 https://www.devze.com 2023-03-08 07:57 出处:网络
I installed VirtualBox with a Oracle VM. Now I simply try to access the Oracle Database of the VM from the host environment, but it doesn\'t work.

I installed VirtualBox with a Oracle VM.

Now I simply try to access the Oracle Database of the VM from the host environment, but it doesn't work.

ipconfig on my host shows an IP number, but w开发者_如何学运维hen I try to open this (Port 80), i get the content of localhost of the host system instead of the content of the server in the VirtualBox.

Which is the proper network setting ?


- Use Host-Only Networking on your guest machine

How to access Oracle DB in VirtualBox from Host (windows)

- See if the server (WEB, DB etc.) is running.

How to access Oracle DB in VirtualBox from Host (windows)

- Mouse-over network icon on status bar to note ip address

How to access Oracle DB in VirtualBox from Host (windows)

- From your host browser send a request to your quest server

How to access Oracle DB in VirtualBox from Host (windows)


I usually do a bridged connection so the vm will pick up an ip address from my router's dhcp; if that option is not available, your other option is to employ port forwarding where you assign an unused port on the host machine to forward to the port on the vm. The virtual box manual has a lot of useful info on both of these options. Let us know if you need additional info or examples.


Turn off the Windows Firewall on the Virtual PC. I've just fixed my HTTP request from Host to VM by turning off the firewall.


In the virtual box go to the settings->Network->Adapter and select Bridge Adapter for (Attached to) field. Don't forget to turn off your firewall in the machine.

How to access Oracle DB in VirtualBox from Host (windows)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号