Solved

Connect to SQL Server in VMWare Virtual Machine via Management Studio

Posted on 2008-06-15
5
1,787 Views
Last Modified: 2011-04-14
I don't make it to connect to my Instance (Sql 2005 express) in my VM Ware Virtual Machine.
Firewalls are switched off. I can ping both machines host to vm and vm to host.
TCP/IP is enabled on the vm. Dynamic ports was set to 1122??! (why this port??)
I played with 1433 and 0 but that did not help.
Any Idea?
Chris
0
Comment
Question by:chriswies
[X]
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
  • 3
  • 2
5 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 21791117
>TCP/IP is enabled on the vm.
.> also to allow remote connections?
0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 21791123
>Dynamic ports was set to 1122??! (why this port??)
dynamic ports will choose some random (free) port
 -> the sql browser service will need to run in that case
0
 

Author Comment

by:chriswies
ID: 21791157
I started the browser and: it worked! Thanks.
Once I learned that the browser is only need for linked servers.
So I learned something new today.
Chris
0
 

Author Comment

by:chriswies
ID: 21791169
btw: When browsing servers when logging in into management studio, I can see servers available. Why can't I see my VM SQL Server? The browser is running, ok; and I can connect, but I expected the server to be listed, although it is an express edition.
Chris
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 21791236
the listing is something I don't really like, as it uses some special windows API to broadcast the requests...
for the VM, it is eventually not handling the broadcasts on the network level, hence won't respond on the os level to list the sql server...
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

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 …
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

690 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