Hi everyone,
I'm experiencing issues connecting to external SMTP servers (e.g., Brevo, Gmail) from my hosting account. I've tried the commonly used ports—587, 465, 2525, and 25—but none of them seem to work.
I created a PHP script to test connectivity, and the results consistently show that the connection is refused or unreachable:
Error: Could not connect to server on port 587. Error 111: Connection refused
Error: Could not connect to server on port 465. Error 101: Network is unreachable
This suggests that outbound connections to these SMTP ports might be blocked on the server.
I would appreciate it if someone could confirm whether SMTP ports are restricted on this hosting plan. If so, is there any way to enable them, or would I need to consider an alternative solution for sending emails?
Thank you in advance for your help!
I'm experiencing issues connecting to external SMTP servers (e.g., Brevo, Gmail) from my hosting account. I've tried the commonly used ports—587, 465, 2525, and 25—but none of them seem to work.
I created a PHP script to test connectivity, and the results consistently show that the connection is refused or unreachable:
Error: Could not connect to server on port 587. Error 111: Connection refused
Error: Could not connect to server on port 465. Error 101: Network is unreachable
This suggests that outbound connections to these SMTP ports might be blocked on the server.
I would appreciate it if someone could confirm whether SMTP ports are restricted on this hosting plan. If so, is there any way to enable them, or would I need to consider an alternative solution for sending emails?
Thank you in advance for your help!