I'm using netbeans 6.7.1 and i'm trying to connect to the sql server 2000 database that i have created and i get this error message,

SQL Exception: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host pc05801, port 1433 has failed. Error: "connect timed out. Verify the connection properties, 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.".

Can anyone help me please!!!

Recommended Answers

All 2 Replies

Have you done those things that are listed in the exception?

Check any firewalls. Check that the DB is running. Check that the DB is configured to accept TCP/IP connections and that it is actually listening on the port mentioned.

If you are unable to do those things, then find a Microsoft forum to ask how.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.