• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1805
  • Last Modified:

Connect to SQL Server in VMWare Virtual Machine via Management Studio

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
chriswies
Asked:
chriswies
  • 3
  • 2
1 Solution
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
>TCP/IP is enabled on the vm.
.> also to allow remote connections?
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
>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
 
chriswiesAuthor Commented:
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
 
chriswiesAuthor Commented:
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
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now