An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
Hello @Santosh Kumar,
Thanks for reaching out to Microsoft Q&A.
I understand that you're facing some connectivity issues with the ports on your servers in Azure, even though both have the same NSG (Network Security Group) assigned.
As discussed offline, when we compared the two servers, we found that the firewall on the non-working server was blocking access at the OS level. After enabling the local firewall ports, the non-working VM was able to access successfully.
If you need to open a specific port on a Linux server, you can use the following command.
sudo firewall-cmd --add-port=32015/tcp --permanent
sudo firewall-cmd --reload
If you need to open an all port on a Linux server, you can use the following command.
sudo firewall-cmd --set-default-zone=trusted
sudo firewall-cmd --reload
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".