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
- Unable to add connection. Cannot establish a connection to
- jdbc:sqlserver://localhost:1433;databaseName=Northwind using
- com.microsoft.sqlserver.jdbc.SQLServerDriver (The TCP/IP connection
- to the host localhost, port 1433 has failed. Error: "connect timed out.
- Verify the connaction propoerties, check that an instance of SQL
- Server is running on the host and accepting TCP/IP connections
- at the port, and that no firewall is blocking TCP connections to the port.".).
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,