How do i test my remote sql server connection?

Posted on 2010-11-12
Last Modified: 2012-06-21
How do i test my remote  sql server connection  ?, i have ip address and port number.
( Like ping utility).  os is windows xp
Question by:Varshini
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
  • 2

Expert Comment

ID: 34122373
If you just want to test connection's to the port/ip of the server/machine you could try the command line
telnet ip.of.sql.server port

LVL 12

Expert Comment

ID: 34122694
from the command prompt:


 (if you using intergrated security to connect to sql server)

LVL 11

Expert Comment

ID: 34122945
Here is a tool which i found on a Dell Management Console CD. You can test for anykind of connection you like. IT will work with SQL and much more. it is called troubleshoot.msi. IT is a general tool to troupleshooot any kind of connection issue. you have to rename the file from .PDF to MSI. It work very well and DELL also has great support.
LVL 12

Accepted Solution

NormanMaina earned 500 total points
ID: 34126406
were you successful?

50cal's idea of using Telnet is very useful if you want to test if two machines can communicate through a certain port - this is because some posts may be blocked by firewall etc

You can mix with using OSQL or SQLCMD(for sql server 2005 onwards) to check if you can actually connect to an instance of SQL Server using some credentials either integrated security or through mixed mode authentication using sql server log ins.
For OSQL to work you need to have an instance of sql server in both machines being tested.

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

623 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