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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "couldn Watch "couldn New topic

couldn't connect to SQL database

sabr sabars
Ranch Hand

Joined: Jan 28, 2003
Posts: 35
Hi All

i tried to connect to SQL database through websphere version 5 in XP windows i got the following error :

problems encountered while trying to establish connection Con1 to , error establishing socket

any one know how can i open socket for SQL in XP windows to access it through websphere?

with regards
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

When you say "SQL database" are you talking about SQL Server? Or another database?

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: couldn't connect to SQL database
Similar Threads
java.sql.SQLException: Io exception: The Network Adapter could not establish the conn
error establishing socket
couldn't connect to SQL database
WebSphere V6.1 Db2 V8.1 Connection Problem