Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Other Java > Java Databases
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 19th, 2007, 10: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...:)
__________________
Keep doing more...:)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
socket connection.... jakeriggs XML 1 April 23rd, 2008 06:05 PM
Socket connection Lizane Java GUI 1 September 24th, 2007 12:11 AM
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 23rd, 2003 12:04 AM
Secure Socket Connection planeswalk Pro VB.NET 2002/2003 0 July 22nd, 2003 09:24 PM



All times are GMT -4. The time now is 04:21 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.