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
Solved

SQL Server Express 2005, TELNET, and Port 1433

Posted on 2008-06-14
12
9,201 Views
Last Modified: 2010-04-21
I was configuring a client yesterday for a SQL Server 2005 Express DB.  Before building the ODBC connect string, I ran ping <IP Address>; the server replied.  I then ran TELNET <IP Adress> 1433 (1433 being the SQL over TCP port number).  I received the following response: "Connecting To <IP Address>...Could not open connection to the host, on port 1433:"  Here's the weird part, I tried the ODBC connect string, and it worked.  I double-checked, the host name specified in the ODBC connect string does match the IP address.  Up until yesterday, I'd assumed that port 1433 had to be open on the SQL server for a client / server connection to be successful.  Am I wrong.  Or, is my understanding of TELNET as a "port pinger" flawed.  
0
Comment
Question by:jdana
  • 6
  • 5
12 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 21784885
port 1433 is the default, but your sql instance installed might have been configured to use another port...
0
 

Author Comment

by:jdana
ID: 21784910
I installed the instance of SQL Server 2005 on the server.  I used the default install settings.
0
 
LVL 2

Expert Comment

by:osiara
ID: 21784936
Do you have enabled TCP/IP Protocol ??
(SQL Server Configuration Manager -> Network configuration)
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

Author Comment

by:jdana
ID: 21784954
Yeah, recall that that the ODBC connect string DOES work.  I have full access to the SQL Server from the client machine.  The only thing I can't do from the client machine is TELNET the server on port 1433.  
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 21785218
the question of osiara was to clarify if the TCP/IP protocol is enabled.
if it's not, you can still connect via named pipes protocol, for example, which would explain why the telnet does not work.
0
 

Author Comment

by:jdana
ID: 21785311
Angel III,

Good point.  Shared Memory and TCP/IP are enabled.  Named pipes and VIA are not.  
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 21785333
huh, spooooky :)

maybe your local firewall blocked your telnet application as such ?
0
 

Author Comment

by:jdana
ID: 21785342
I wish that was it.  Windows Firewall is off.  There are no other firewall apps on the machine.  
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 21785420
can you show the sql network utility, to see the configuration of the tcp/ip protocol?
0
 

Author Comment

by:jdana
ID: 21785432
The SQL Server Configuration Manager?  Surface Area Configuration?  Something else?
0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 250 total points
ID: 21786704
0
 

Author Closing Comment

by:jdana
ID: 31467178
angelIII,

Sorry for the slow response.  I appreciate the follow through.

J
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to disable/enable multiple sql jobs in efficient way 11 117
Need help with a query 6 76
Query to return total 6 22
SQL Server Insert where not exists 24 46
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

860 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