Solved

Connect to SQL Server in VMWare Virtual Machine via Management Studio

Posted on 2008-06-15
5
1,736 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
  • 3
  • 2
5 Comments
 
LVL 142

Expert Comment

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

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
Comment Utility
>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
Comment Utility
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
Comment Utility
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 142

Expert Comment

by:Guy Hengel [angelIII / a3]
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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!
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

771 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

10 Experts available now in Live!

Get 1:1 Help Now