Azure virtual machine restricted?

Lev Anni 41 Reputation points
2021-08-19T09:14:29.06+00:00

Hi,

I guess my virtual machine is restricted to send emails using basic SMTP ports like 25, 587. Connections are refused, and mail servers are giving errors like Socket error 10060.

Can anyone help?

Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
643 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Alan Kinane 16,821 Reputation points MVP
    2021-08-19T09:47:49.487+00:00

    Yes, Microsoft restrict this by default. You can submit a support ticket to Azure support requesting the port to be opened if you really need it.


  2. suvasara-MSFT 10,041 Reputation points
    2021-08-19T10:32:11.47+00:00

    @Lev Anni , The Azure platform will block outbound SMTP connections on TCP port 25 for VMs deployed in certain subscriptions. It is possible to have this block removed. To request to have the block removed, go to the Cannot send email (SMTP-Port 25) section of the Diagnose and Solve blade in the Azure Virtual Network resource in the Azure portal and open a support request.

    If you still need help, contact support to get your problem resolved quickly. Use this issue type: Technical > Virtual Network > Cannot send email (SMTP/Port 25).

    ----------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.


  3. Lev Anni 41 Reputation points
    2021-08-19T15:49:19.8+00:00

    Thanks for help, I have sent a ticket

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.