p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Java Databases (http://p2p.wrox.com/forumdisplay.php?f=114)
-   -   Error establishing socket for SQL Connection. (http://p2p.wrox.com/showthread.php?t=55585)

mcw22 March 19th, 2007 09:29 PM

Error establishing socket for SQL Connection.
Hi there,

I already had SQL 2000 installed in the machine - a localhost, set it up using a mix authentication, installed my database and got the drivers installed as well as the service started.

However, when I tried connecting to the database using a JDBC connection with a program like DBVisualizer, an error message occurs saying that the program encountered a java.sql.exception and the error described as 'error establishing connection.'

After checking, I found out that one of the possible causes is that the program could not detect port 1433. I've double checked using 'netstat' or 'telnet' command and there was no port 1433.

I just simply could not establish a JDBC connection. Please help.

Keep doing more...:)

All times are GMT -4. The time now is 11:25 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.