// 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
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
FIX 1Use port 587 with a relay
- 01Configure Postfix or your app to relay via an email provider on port 587
Did this fix it?FIX 2Request an unblock
- 01Wait until the account is about a month old and the first invoice is paid
- 02In the Console open Request change > limit request
- 03Describe the mail type and volume
Did this fix it?FIX 3Test the block
- 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