Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > Java Databases
| Search | Today's Posts | Mark Forums Read
Java Databases Discussion specific to working with Java Databases. For other Java topics, please see related Java forums. For database discussions not specific to Java, please see the Database category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 19th, 2007, 09:29 PM
Registered User
Join Date: Jul 2006
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to mcw22
Default 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...:)

Similar Threads
Thread Thread Starter Forum Replies Last Post
Socket connection Lizane Java GUI 1 September 23rd, 2007 11:11 PM
Establishing a database connection OldCoder Classic ASP Basics 3 November 3rd, 2004 11:56 PM
Secure Socket Connection planeswalk ASP.NET 1.0 and 1.1 Professional 0 July 22nd, 2003 11:04 PM
Secure Socket Connection planeswalk Pro VB.NET 2002/2003 0 July 22nd, 2003 08:24 PM

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