// troubleshooting guide · hetzner

Hetzner Port 25 Blocked (Can't Send Email)

Status
Workaround available
platforms:
Linux
updated:
November 15, 2026
reports:
4
Method
how we research
Share

RUNBOOK · hetzner/port-25-blocked3 FIXES

// quick answer

Hetzner blocks outbound ports 25 and 465 on all cloud servers. Send through an SMTP relay on port 587, or after a month and a paid invoice request an unblock.

Most likely fix: Use port 587 with a relay

How to fix it

// try these in order, the most common fix is first

  1. FIX 1Use port 587 with a relay

    1. 01Configure Postfix or your app to relay via an email provider on port 587
    Did this fix it?
  2. FIX 2Request an unblock

    1. 01Wait until the account is about a month old and the first invoice is paid
    2. 02In the Console open Request change > limit request
    3. 03Describe the mail type and volume
    Did this fix it?
  3. FIX 3Test the block

    1. 01Run nc -vz smtp.gmail.com 25 (times out if blocked)
    Did this fix it?

Symptoms

Mail server or app cannot connect to remote mail servers; telnet to port 25 times out while port 587 works.

Why it happens

  • C-01Default anti-spam block on ports 25 and 465
  • C-02Account too new for an unblock
  • C-03Use case refused (bulk mail)

// this guide also covers

  • hetzner port 25 blocked
  • hetzner smtp blocked
  • hetzner can't send email
  • hetzner unblock port 25

Still not working?

If Hetzner keeps failing, you're not alone. See every Hetzner problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us

Watch Hetzner Get an email when its price changes, it has an outage, or we publish a new fix. No spam.

Fixed it? Share this guide

The same problem in other apps

All plan limits, paywalls & watermarks guides →

Other Hetzner errors

All 11 Hetzner errors and fixes →