Solved

Connect to SQL Server in VMWare Virtual Machine via Management Studio

Posted on 2008-06-15
5
1,785 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
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.

737 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