question

LevAnni-1451 avatar image
0 Votes"
LevAnni-1451 asked LevAnni-1451 answered

Azure virtual machine restricted?

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AlanKinane avatar image
0 Votes"
AlanKinane answered AlanKinane commented

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Ok, but I can't submit this request until I upgrade help and support service to the higher level :/ This is monthly $29 and I just need it to be opened one time.

0 Votes 0 ·

Unfortunately only Microsoft support can remove this restriction which requires a support ticket. If you plan to use Azure long term then you will definitely need a support plan.
Otherwise you might have to look into other email solutions, for example SendGrid have a free tier that might be an option for you.

0 Votes 0 ·
suvasara-MSFT avatar image
0 Votes"
suvasara-MSFT answered LevAnni-1451 commented

@LevAnni-1451 , 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.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

It requires me to upgrade my subscription plan :/

0 Votes 0 ·
LevAnni-1451 avatar image
0 Votes"
LevAnni-1451 answered

Thanks for help, I have sent a ticket

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.