Raghu Immaneni
Raghu Immaneni

Reputation: 81

The Network Adapter could not establish connection Oracle 12c

I have an oracle12c database setup on my windows 8 machine & I am trying to access this database through JDBC from ubuntu(Linux) machine present in local area network. When am trying to establish connection through JDBC, getting the following exception

The network adapter could not establish connection.

I have ensured the following. 1. Disabled the firewalls between both the machines. 2. the URL is proper & I tired using both hostname as well as ip address. 3. listener is up and running on port 1521.(lsnrctl stat shows the listener is READY)

I have done extensive google search about this. Please help. Thanks in advance. Please let me know if you need more details.

Upvotes: 0

Views: 1080

Answers (2)

user3543851
user3543851

Reputation: 176

make sure you have used proper jdbc driver for that database connection.

Upvotes: 1

Amit
Amit

Reputation: 288

try to telnet the computer (Windows 8) that is running DB from client computer (Ubuntu).

Upvotes: 0

Related Questions