Solved

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

Posted on 2012-04-10
3
2,593 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 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) 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 117
ID: 37832110
no problems.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

758 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now