File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes JDBC Socket Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC Socket Error" Watch "JDBC Socket Error" New topic

JDBC Socket Error

Rohan Patil

Joined: Jan 04, 2001
Posts: 6
Hi Everybody,
I am getting the following error whicle connecting to DB.
68068 [Thread-5] ERROR db.DBUtil - java.sql.SQLException: [Microsoft][SQLServer
2000 Driver for JDBC]Error establishing socket.
68078 [Thread-5] ERROR application.LoginApplication - class:LoginApplication Me

Can anyone help me to solve this problem ?

Thanks in advance.

Rohan Patil
Annie Smith
Ranch Hand

Joined: Mar 05, 2005
Posts: 172
My good guess is that the user authentication for the connection has failed. Check if the username/password is correct!

Cheers!<br /><b>Annie</b>
I agree. Here's the link:
subject: JDBC Socket Error
Similar Threads
Socket Error
connection Problem With SqlServer 2000 using Microsoft jdbc Driver
error opening socket sql state=08s01
Got error message "Connection reset by peer" Unrecognized Windows Sockets error: 10106: create