Checking Your Outgoing Mail Server (Is port 25 blocked?)


Many email clients and services use port 25 for SMTP to send out emails. However an ISP (Internet Service Provider) may block port 25 in order to prevent spamming by its customers. This article will show you how you can check to see if Port 25 is blocked on your network.


This article assumes that you know how to get to a command prompt on your computer. 


  1. Type the following command:
    telnet 25
  2. View Results:
    If Port 25 is not blocked, you will get a successful 220 response (text may vary).
    Connected to
    Escape character is '^]'.
    220 ESMTP Exim 4.63 Tue, 24 Jun 2008 13:45:04 -0700
    If Port 25 is blocked, you will get a connection error or no response at all.
    telnet: connect to address Connection refused
    telnet: Unable to connect to remote host


    You can use this same technique to check if Port 587 is blocked as well.  Just use the following command:

     telnet 587


Q: What can I do if port 25 is blocked?
A: You may also choose to use the alternate Port 587. All of our customers should contact their ISP (Internet Service Provider) if Port 25 is blocked.  In many instances, they will let you use their outgoing SMTP servers.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Does TLF back up my website's files?

The Linux Fix performs file-level backups on all our customer-facing servers free of charge....

Is WHOIS Privacy Available?

WHOIS is a global database which stores some personal information of the person or entity...

PHP mail() function on LinuxPro Hosting

OverviewAs of June 2015, TLFHosting disabled the legacy PHP mail() function for all TLFHosting...

How to force HTTPS using the .htaccess file

OverviewOccasionally you may need to force all traffic on your website to use HTTPS.  This can be...

LinuxPro Hosting & SSL Certificates

Overview This document explains the Transport Layer Security (TLS) and Secure Sockets Layer...