Connecting Tech Pros Worldwide Forums | Help | Site Map

SQL server 2000 - cannot telnet to port 1433

Member
 
Join Date: Nov 2007
Posts: 125
#1: Oct 12 '09
hello,

i'm trying to connect to SQL Server 2000 on my localhost through JDBC. i'm using the Microsoft SQL Server JDBC Driver 2.0

i couldnt make it, as i get the following error

Expand|Select|Wrap|Line Numbers
  1. Unable to add connection. Cannot establish a connection to
  2. jdbc:sqlserver://localhost:1433;databaseName=Northwind using 
  3. com.microsoft.sqlserver.jdbc.SQLServerDriver (The TCP/IP connection 
  4. to the host localhost, port 1433 has failed. Error: "connect timed out. 
  5. Verify the connaction propoerties, check that an instance of SQL 
  6. Server is running on the host and accepting TCP/IP connections 
  7. at the port, and that no firewall is blocking TCP connections to the port.".).
  8.  

i've verified through Server Network Utility the the TCP/IP protocol is enabled and is listening on port 1433.

but when i run the command "netstat -an" i don't see any service listening on port 1433.

i can connect to the database server through the query analyzer,
what could went wrong?

Thank you,

Reply