Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Oracle/OAS and the fly likes Error:Network Adapter could not establish the connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Error:Network Adapter could not establish the connection" Watch "Error:Network Adapter could not establish the connection" New topic
Author

Error:Network Adapter could not establish the connection

vamsi naki
Ranch Hand

Joined: May 18, 2011
Posts: 46
Hi,
I installed Oracle SQL Developer ,i am trying to create a new connection but i am getting this error message "The Network Adapter could not establish the connection".
The hostname is :localhost
port:1521
SID:xe

Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30405
    
150

Is Oracle running? (check Windows services or "ps" on UNIX.) Is the database in your tns file? Does it work at the command line?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
vamsi naki
Ranch Hand

Joined: May 18, 2011
Posts: 46
Oracle is running ,i checked it in the task manager .I dont know what a tns file is .This is my first time installing or running oracle ,i just have a basic idea of some of the oracle commands.The oracle sql developer tool is opening when i run through command prompt .
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error:Network Adapter could not establish the connection