Connect from host to an SQL in a guest

Discussions about using Windows guests in VirtualBox.
Post Reply
gabaugnet
Posts: 2
Joined: 27. Jan 2010, 23:54
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Win XP

Connect from host to an SQL in a guest

Post by gabaugnet »

Hi, I want to connect to SQL Server in my guest Win XP connecting form my host Win XP.
In my guest I have outgoing connections, but I can't do a ping from the host to the guest. So neither connect to the SQL Server.

How can I do that?

Thanks
Gabriel
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Connect from host to an SQL in a guest

Post by Perryg »

You would need to be using Bridged mode or if you do not have a router then host-only.
Also make sure that a firewall is not blocking this.
gabaugnet
Posts: 2
Joined: 27. Jan 2010, 23:54
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Win XP

Re: Connect from host to an SQL in a guest

Post by gabaugnet »

It is set up as Bridged and I don't have a firewall activated on the guest.

Any other tip?
Thanks!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Connect from host to an SQL in a guest

Post by Perryg »

Do you have a router?
If not then select host-only for the first virtual NIC and then setup a second virtual NIC set to NAT if the guest needs the Internet.
Post Reply