The ‘Connection refused’ error will occur if your SMTP plugin fails to connect to the mail server you configured on port 25. It often happens with the Other SMTP mailer in Easy WP SMTP and WP Mail SMTP plugins.
Resolving the Error – Solution
Because this error is server related, resolving it would require reaching out to your web hosting support. When contacting them, share the exact error message you’re seeing. They should be able to fix the server configuration issue.
Note: The Other SMTP mailer doesn’t use a dedicated email API. This can lead to errors such as the ‘Connection refused’ error. We suggest switching to a dedicated email service provider like SendLayer if the error occurs frequently on your site.