Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2012-04-10
3
2,697 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:Tony McCreath
  • 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:Tony McCreath
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

Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

838 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