"Could not connect to SMTP host" java.net.ConnectException when trying Test Email from Grid Console
(Doc ID 870693.1)
Last updated on DECEMBER 13, 2019
Applies to:Enterprise Manager Base Platform - Version 10.2.0.1 to 10.2.0.5 [Release 10.2]
Information in this document applies to any platform.
This problem can occur on any platform.
Setting or Changing the mail server in the Grid Console Setup -> Notification Methods -> and clicking on "Test Mail Servers" fails with error:
port: PORT; nested exception is: java.net.ConnectException: Connection timed out" [SMTP Server:
<host_name>, User name: null, Secure Connection: NONE]
There is a firewall between the OMS machine and SMTP server due to which the following also failed :
The communication from the OMS machine to SMTP server has been opened but the test email still fails with the above error.
But, it is possible to send email from the command line using the steps in <Note 74269.1>
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