Showing results for 
Show  only  | Search instead for 
Did you mean: 

IO error: the network adapter could not establish connection. Oracle DB to AppDynamics controller

I have configured the DB collector with the Ip address, Service Name, and Listener ports along with a user with required permission. DB is displayed on the controller UI but it isn't sending any data because of an error        "IO error: the network adapter could not establish connection". 

DB is up and running, listener is configured correctly, inbound rule for firewall is allowing port 1521 from the controller but the issue still exists. I tried googling for hours but only things i found were related to Oracle database itself not in regards to DB configuration in AppDynamics. 


Thanks in advance.


Here is the Diagnostics Event


java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection at oracle.jdbc.driver.T4CConnection.logon( at oracle.jdbc.driver.PhysicalConnection.<init>( at oracle.jdbc.driver.T4CConnection.<init>( at oracle.jdbc.driver.T4CDriverExtension.getConnection( at oracle.jdbc.driver.OracleDriver.connect( at java.sql.DriverManager.getConnection( at java.sql.DriverManager.getConnection( at at at at at at at$ at java.util.concurrent.Executors$ at$Sync.innerRunAndReset( at at$ADScheduledFutureTask.access$101( at$ADScheduledFutureTask.runPeriodic( at$ at$Worker.runTask( at$ at Caused by: The Network Adapter could not establish the connection at at at at at oracle.jdbc.driver.T4CConnection.connect( at oracle.jdbc.driver.T4CConnection.logon( ... 22 more Caused by: connect timed out at Method) at at at at at at at at ... 27 more

Have you verified that you are able to reach the Oracle database host/port from the server where database agent is installed.

You can find more information about network requirements here.

Thanks for the response.


So right now I have the agent installed on the same server as DB.


Controller-info.xml is configured and port 1521 is allowed from AppDynamics Controller IP address to DB.


On the controller side, I have specified DB type, Name, DB IP address, Service Name, Listener port and UN/PW configured per AppDynamics documentation.


Is it necessary to install the agent on different server than the DB itself? or can there be other issue that's causing the connectivity issue?


Please let me know if you need more information.



New Member
Most probably you have listener configured wrongly, the hostname you specify in connection string must be the same as in the listener.