@MOHAMMED RASHID , Thank you for your question.
Can you check if telnet to the required ports on the impacted virtual machine succeeds from another virtual machine in the same virtual network subnet?
If so, can you please check if the impacted Azure VM's network interface is connected to a Network Security Group or if the Virtual Network Subnet in which you have deployed the Virtual Machine is connected to a Network Security Group?
Please refer to this article for How-tos
The required ports should be explicitly allowed from the Internet on the network security group associated with the virtual network subnet (if any) and also on the network security group associated with the VM's network interface (if any).
Please ensure that the Network Security Group rules allowing access to the required ports from the Internet are not superseded by a higher priority rule that denies access to the ports/a range of ports containing the required ones from the Internet.
Additionally please check if there are Firewalls, Network Virtual Appliances or other network devices deployed which are blocking traffic from the internet to the VM on the required ports