Skip to content
Poorva Cloud

Outgoing port 25 is blocked: use port 587 or 465

Apps cannot send email on port 25. Connect to your email sending service on port 587 or 465 with a user name and password.

Updated 25 November 2026

Symptoms

  • Your app's email test says Connection timed out or could not connect to SMTP host.
  • Email settings work on your computer but not on the server.

Cause

Outgoing connections on port 25 are blocked on every Poorva Cloud server, at the provider's firewall outside the server. There is no unblock option. Port 25 is the port mail servers use to talk to each other; spammers abuse it, and IP addresses that send on it are often blocked by mail providers.

Email sending services accept email from apps on other ports, after you sign in:

  • 587 with STARTTLS (the connection starts plain and switches to encryption);
  • 465 with SSL/TLS (encrypted from the start).

How to fix

  1. Open your app's email or SMTP settings.
  2. Set the port to 587 and encryption to STARTTLS (sometimes called TLS). If your service recommends it, use 465 with SSL.
  3. Turn on authentication and enter the user name and password (or API key used as password) from your email sending service.
  4. Use the host name your service gives, for example smtp.your-provider.example.
  5. Send a test email.

When to raise a ticket

Use Raise a ticket if ports 587 and 465 also time out. Include the application name, the SMTP host and port you used, and the exact error. Never send the SMTP password. Our support team will check the server's outgoing connections.

Was this helpful?

Still need help?

24/7 support from our team. Sign in to the console to raise a ticket about this.

Raise a ticket