Solved

SQL Server Express 2005, TELNET, and Port 1433

Posted on 2008-06-14
12
9,191 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 142

Expert Comment

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

Author Comment

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

Expert Comment

by:osiara
Comment Utility
Do you have enabled TCP/IP Protocol ??
(SQL Server Configuration Manager -> Network configuration)
0
 

Author Comment

by:jdana
Comment Utility
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 142

Expert Comment

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

Good point.  Shared Memory and TCP/IP are enabled.  Named pipes and VIA are not.  
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
Comment Utility
huh, spooooky :)

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

Author Comment

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

Expert Comment

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

Author Comment

by:jdana
Comment Utility
The SQL Server Configuration Manager?  Surface Area Configuration?  Something else?
0
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 250 total points
Comment Utility
0
 

Author Closing Comment

by:jdana
Comment Utility
angelIII,

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

J
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
We all know how boring and exhausting it is to transfer huge web projects developed locally to a webserver simply via FTP. The File Transfer Protocol is a really nice solution if you need to transfer small amounts of files, but if you're plannin…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

772 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

15 Experts available now in Live!

Get 1:1 Help Now