Tag Archives: IO Error

[Solved] IO Error: The Network Adapter could not establish the connection

IO Error: The Network Adapter could not establish the connection
The Network Adapter could not establish the connection
The Network Adapter could not establish the connection
Connection timed out: connect, socket connect lapse 21004 ms. /10.10.10.3 1521 0 1 true
Connection timed out: connect, socket connect lapse 21004 ms. /10.10.10.3 1521 0 1 true
Connection timed out: connect
Connection timed out: connect

the database is 19C   rac   PDB environment, the current test even one of the VIP address, through the VPN, sqlplus and PL/SQL tools can connect to the database, but with Oracle   sql   The developer tool reported an error. Later, it tried dbeaver and dbvisualizer. It’s strange.

When using the dbeaver tool, we find that the connection is jdbc:oracle :thin

Think of these tools to go is it, so query

By searching jdbc:oracle : the network adapter could not establish the connection

Find the configuration file below:

Add this   Addvmoption – DJava. Net. Preferipv4stack = true restart the client tool and connect again successfully.

relevant:
Dbeaver is modified as follows: dbeaver.ini

add to

-Djava.net.preferIPv4Stack=true