Link to home
Start Free TrialLog in
Avatar of Tony McCreath
Tony McCreathFlag for Australia

asked on

Can't get Host to connect to its VirtualBox SQLServer Database

I've been given a Virtual Machine and am running it using VirtualBox on my Windows 7 machine.

The Virtual Machine is using Windows Server 2008 and contains a MS SQL Server 2008 database which I would like to access from my host.

I set up the guests network adapter to use the Bridged Adapter and created a Bridged to my Local Area Connection in my host.

I can ping the IP address of the guest from my host.

I can directly access the database on the guest machine.

Using Microsoft SQL Server Manager on my host I am trying to establish a connection to the virtual database, and this is where I'm stuck. I'm not even sure what server name to enter. Everything I try just ends up with a "cannot connect" error.

This networking stuff is a little over my head.

How do I connect to this database?
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tony McCreath

ASKER

Got it.

It looks like it was the windows firewall on the guest that was blocking things.

Now to work