More Technical Help

Thursday, February 3, 2011

How to check whether SMTP port 25 is blocked?

How to check whether SMTP port 25 is blocked?

The standard port used for SMTP connections is 25. One of the most common reasons for not being able to send messages is that your Internet service provider blocks this port. This is why using an alternative SMTP port is highly recommended.

Here's how to, depending on your OS, check whether your ISP blocks port 25:

  • Check port 25 in Windows

Click on the Start menu button, usually located at the lower left corner of the screen. There is a tab called "Run". Click it and a new window will pop up. In the text field of this window you need to type cmd and then press the "Enter" key. Another window will open. It is the so called "MS-DOS prompt" or "command prompt". Just type the following command in the command prompt window and press "Enter":
 

telnet my-domain-name.com 25

  • Check port 25 in Mac OS

Each Mac OS is delivered with a preinstalled terminal emulator. The terminal is a tool which allows you to execute commands from the command line. Usually, the terminal is located under your Mac HD -> "Applications" directory -> Utilities sub-directory. When the window opens, you will see a command line with a flashing cursor on it so you can start typing right away. Just type the following command and press "Enter":

  If you get a message saying that the connection is refused it means the SMTP port 25 is blocked.

In order to overcome this issue you need to use the alternative SMTP port 26. If it is also blocked then you need to contact your hosting provider and ask them if they have any other alternative port?

On the other hand you can contact your ISP and ask them to provide their SMTP ports and you can use them.


telnet my-domain-name.com 25

  • Check port 25 in Linux

Open your favorite terminal emulator and execute the following command in order to check the connection on port 25 to your website:
telnet my-domain-name.com 25

0 comments:

Post a Comment