aspose file tools
The moose likes JDBC and Relational Databases and the fly likes Network adapter couldn't establish connection with the database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Network adapter couldn Watch "Network adapter couldn New topic
Author

Network adapter couldn't establish connection with the database

Arun Somasundaram
Ranch Hand

Joined: Jul 25, 2006
Posts: 63
Hi,

I have encountered the below mentioned Exception when I try to run the following code.Here the server is running in a remote system:

SQLException : IO exception network adapter couldn't establish connection with the database





What can be done to resolve this problem?


Arun.V.Somasundaram
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2541
    
  10

Hi Arun,

Your connection string is jdbc:oracle:thin:@orcl:1526:orcl","scott","tiger
Is this correct according to Oracle specs?
is "orcl" the name of the database server?
Can you ping "orcl"?

Regards, Jan


OCUP UML fundamental and ITIL foundation
youtube channel
 
 
subject: Network adapter couldn't establish connection with the database
 
jQuery in Action, 3rd edition