Windows Vista Tips

Windows Vista Tips > Newsgroups > Virtual PC > How do I get the guest OS to see a SQL server running on the host

Reply
Thread Tools Display Modes

How do I get the guest OS to see a SQL server running on the host

 
 
Dan Maharry
Guest
Posts: n/a

 
      12-23-2009
HI,
I've got Windows XP Mode running on Wndows 7 Professional x64. I have an
instance of SQL 2008 running on Windows 7 which I would like my copy of
VS2010b2 Pro running in WinXPMode to see. However, I cannot figure out the
right combination of networking and firewall adjustments to make. Below is
what I've done so far. Can someone help me out with what I've left to do to
get this working?

Thanks, Dan

- Installed Loopback Adapter on Host OS
- Set up Loopback Adapter to have a static IP address 192.168.3.1 which the
VPC network adapter will use as its internet gateway.
- Configured the XP Mode Virtual Machine to use the loopback adapter.
- Gave the network connection in XP mode the static IP address 192.168.3.2.
and the default gateway as 192.168.3.1.

At this point I can ping my host OS from my guest OS.

- Added incoming rules to my Win7 firewall for port 1433/TCp and 1434/UDP
and also for sqlsrvr.exe
- Opened SQL Server Configuration Manager and Enabled Named Pipes and TCP/IP
for your SQL Server on my host OS
- Within properties for TCP/IP, added entry for IP 192.168.3.1 on port 1433

However, I still cannot telnet to my host OS port 1433 or 1434 from within
my guest OS and have run out of ideas.
 
Reply With Quote
 
 
 
 
Robert Comer
Guest
Posts: n/a

 
      12-23-2009
To make sure it's a firewall issue, try disabling the firewall for the
loopback adapter, then you'll know if that's the problem.

My guess is that you have a firewall zone problem, but the above will
tell you if it's the firewall at all that's the problem.

Also, do you have more than one network adapter assigned to the VM?

--
Bob Comer


On Tue, 22 Dec 2009 16:15:01 -0800, Dan Maharry
<> wrote:

>HI,
>I've got Windows XP Mode running on Wndows 7 Professional x64. I have an
>instance of SQL 2008 running on Windows 7 which I would like my copy of
>VS2010b2 Pro running in WinXPMode to see. However, I cannot figure out the
>right combination of networking and firewall adjustments to make. Below is
>what I've done so far. Can someone help me out with what I've left to do to
>get this working?
>
>Thanks, Dan
>
>- Installed Loopback Adapter on Host OS
>- Set up Loopback Adapter to have a static IP address 192.168.3.1 which the
>VPC network adapter will use as its internet gateway.
>- Configured the XP Mode Virtual Machine to use the loopback adapter.
>- Gave the network connection in XP mode the static IP address 192.168.3.2.
>and the default gateway as 192.168.3.1.
>
>At this point I can ping my host OS from my guest OS.
>
>- Added incoming rules to my Win7 firewall for port 1433/TCp and 1434/UDP
>and also for sqlsrvr.exe
>- Opened SQL Server Configuration Manager and Enabled Named Pipes and TCP/IP
>for your SQL Server on my host OS
>- Within properties for TCP/IP, added entry for IP 192.168.3.1 on port 1433
>
>However, I still cannot telnet to my host OS port 1433 or 1434 from within
>my guest OS and have run out of ideas.

 
Reply With Quote
 
Dan Maharry
Guest
Posts: n/a

 
      12-23-2009
Hi Robert,

It was definitely the firewall that's the issue. Disabling the firewall had
it connecting fine. By luck I seem to have got it working with the Firewall's
troubleshooting wizard and telling it to open incoming connections for
sqlservr.exe. Which worked for some reason although I don't know what it
changed.

Thansk for your help.

Dan

"Robert Comer" wrote:

> To make sure it's a firewall issue, try disabling the firewall for the
> loopback adapter, then you'll know if that's the problem.
>
> My guess is that you have a firewall zone problem, but the above will
> tell you if it's the firewall at all that's the problem.
>
> Also, do you have more than one network adapter assigned to the VM?
>
> --
> Bob Comer
>
>
> On Tue, 22 Dec 2009 16:15:01 -0800, Dan Maharry
> <> wrote:
>
> >HI,
> >I've got Windows XP Mode running on Wndows 7 Professional x64. I have an
> >instance of SQL 2008 running on Windows 7 which I would like my copy of
> >VS2010b2 Pro running in WinXPMode to see. However, I cannot figure out the
> >right combination of networking and firewall adjustments to make. Below is
> >what I've done so far. Can someone help me out with what I've left to do to
> >get this working?
> >
> >Thanks, Dan
> >
> >- Installed Loopback Adapter on Host OS
> >- Set up Loopback Adapter to have a static IP address 192.168.3.1 which the
> >VPC network adapter will use as its internet gateway.
> >- Configured the XP Mode Virtual Machine to use the loopback adapter.
> >- Gave the network connection in XP mode the static IP address 192.168.3.2.
> >and the default gateway as 192.168.3.1.
> >
> >At this point I can ping my host OS from my guest OS.
> >
> >- Added incoming rules to my Win7 firewall for port 1433/TCp and 1434/UDP
> >and also for sqlsrvr.exe
> >- Opened SQL Server Configuration Manager and Enabled Named Pipes and TCP/IP
> >for your SQL Server on my host OS
> >- Within properties for TCP/IP, added entry for IP 192.168.3.1 on port 1433
> >
> >However, I still cannot telnet to my host OS port 1433 or 1434 from within
> >my guest OS and have run out of ideas.

> .
>

 
Reply With Quote
 
Robert Comer
Guest
Posts: n/a

 
      12-24-2009
You're welcome, glad you got it going!

--
Bob Comer


On Wed, 23 Dec 2009 15:27:01 -0800, Dan Maharry
<> wrote:

>Hi Robert,
>
>It was definitely the firewall that's the issue. Disabling the firewall had
>it connecting fine. By luck I seem to have got it working with the Firewall's
>troubleshooting wizard and telling it to open incoming connections for
>sqlservr.exe. Which worked for some reason although I don't know what it
>changed.
>
>Thansk for your help.
>
>Dan
>
>"Robert Comer" wrote:
>
>> To make sure it's a firewall issue, try disabling the firewall for the
>> loopback adapter, then you'll know if that's the problem.
>>
>> My guess is that you have a firewall zone problem, but the above will
>> tell you if it's the firewall at all that's the problem.
>>
>> Also, do you have more than one network adapter assigned to the VM?
>>
>> --
>> Bob Comer
>>
>>
>> On Tue, 22 Dec 2009 16:15:01 -0800, Dan Maharry
>> <> wrote:
>>
>> >HI,
>> >I've got Windows XP Mode running on Wndows 7 Professional x64. I have an
>> >instance of SQL 2008 running on Windows 7 which I would like my copy of
>> >VS2010b2 Pro running in WinXPMode to see. However, I cannot figure out the
>> >right combination of networking and firewall adjustments to make. Below is
>> >what I've done so far. Can someone help me out with what I've left to do to
>> >get this working?
>> >
>> >Thanks, Dan
>> >
>> >- Installed Loopback Adapter on Host OS
>> >- Set up Loopback Adapter to have a static IP address 192.168.3.1 which the
>> >VPC network adapter will use as its internet gateway.
>> >- Configured the XP Mode Virtual Machine to use the loopback adapter.
>> >- Gave the network connection in XP mode the static IP address 192.168.3.2.
>> >and the default gateway as 192.168.3.1.
>> >
>> >At this point I can ping my host OS from my guest OS.
>> >
>> >- Added incoming rules to my Win7 firewall for port 1433/TCp and 1434/UDP
>> >and also for sqlsrvr.exe
>> >- Opened SQL Server Configuration Manager and Enabled Named Pipes and TCP/IP
>> >for your SQL Server on my host OS
>> >- Within properties for TCP/IP, added entry for IP 192.168.3.1 on port 1433
>> >
>> >However, I still cannot telnet to my host OS port 1433 or 1434 from within
>> >my guest OS and have run out of ideas.

>> .
>>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VMware ESXi Tim Hays Windows Small Business Server 24 02-12-2011 09:42 PM
I also have an error 646 in Windows update. Please help. Jose Windows Update 12 01-09-2010 02:00 PM
SBS 2008 Premium and SQL pat@arms Windows Small Business Server 4 12-08-2009 09:53 PM
The local domain controller could not connect with - 2008 boe Active Directory 9 11-22-2009 02:05 AM
MSDE Database move to a new Server - any SQL guru's out there? Lesa H. Windows Small Business Server 5 11-14-2009 10:59 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59