Solved

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

Posted on 2012-04-10
3
2,656 Views
Last Modified: 2012-04-11
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?
0
Comment
Question by:Tiggerito
  • 2
3 Comments
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 37831438
You do not need to change any network settings on the host, and create a bridged connection.

Setting a Bridge Network Connection on the VM, both the VM and Host should have network IP addresses which on the same network?

Make sure Firewalls are disabled on Host and VM, and try specifying an IP address or Servername in the SQL Manager.
0
 
LVL 23

Author Comment

by:Tiggerito
ID: 37831800
Got it.

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

Now to work
0
 
LVL 119
ID: 37832110
no problems.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question