Connection to SMTP port 25 failing although not blocked
-
Yes, I know SMTP without encryption on port 25 is not secure, but it is what this specific customer has available.
Although the TCP port 25 connection out is not blocked on either our server firewall nor on the SMTP server, which we confirmed by telneting to it via the command line on the exact same webserver as the website, when connecting via WP Mail SMTP we get:
2022-10-04 08:57:36 Connection: opening to smtp.REMOVED.pt:25, timeout=300, options=array() 2022-10-04 08:57:38 Connection failed. Error #2: stream_socket_client(): unable to connect to smtp.REMOVED.pt:25 (Connection refused) [/var/www/vhosts/REMOVED/httpdocs/wp-includes/PHPMailer/SMTP.php line 388] 2022-10-04 08:57:38 SMTP ERROR: Failed to connect to server: Connection refused (111)
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Connection to SMTP port 25 failing although not blocked’ is closed to new replies.