My Oracle Support Banner

DataSource Tries to Connect to Different DB Listen Port Then It Errors with java.net.SocketTimeoutException: connect timed out (Doc ID 2411439.1)

Last updated on MAY 18, 2023

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

A working server became intermittently unable to connect to its jdbc data sources.

For a Data Source configured to connect to Port {Port_Working}, it is seems that initially it tries to connect to {Port_Working} and then it retries different port ({Port_Blocked}) finally data source fails and connection is timed out.

Note that in this case port {Port_Blocked} is blocked by firewall.

Following exception is reported in server logs:

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.