Check if an SMTP port is open on a server

To check if a specific port is open on a server, you need to run a command in your system console as not all hosting services may support it. This is especially useful when verifying if a port is open before integrating it with your email service or troubleshooting SMTP configuration issues.

Use the following tabs to view instructions for Windows, Linux, and MacOS:

Windows Linux MacOS

To check if an SMTP port is open on a server using Windows:

  1. To open the Run dialog box, press Windows+R keys together. 
  2. Type cmd and click OK.
    💡 Good to know
    If administrative privileges are required, press Ctrl+Shift+Enter to run the command prompt as an administrator.
  3. In the Command Prompt window, type the following command:
    netstat -an | find "<port>"
  4. Replace <port> with the port number you want to check. For example, to check if port 25  is open, type:
    netstat -an | find "25"

If the specified port appears in the results, it means the port is open and in use.

If no results appear, the port might be closed or blocked by a firewall. In this case, we recommend you try using one of our other SMTP ports or contact our support team with a screenshot of the message you got.

⏩ What's next?

🤔 Have a question?

If you have a question, feel free to contact our support team by creating a ticket from your account. If you don't have an account yet, you can contact us here.

If you’re looking for help with a project using Brevo, we can match you with the right certified Brevo expert partner.

💬 Was this article helpful?

13 out of 44 found this helpful