Hi @Michaek Salzlechnner
Try To verify that the port is actively listening, you can execute the command telnet localhost <port>
. Make sure to replace <port>
with the actual port number that the Asterisk AMI interface is listening on, typically 5038. This command will help you confirm that the connection to the specified port is successfully established without going through the firewall
If the service is running locally, make sure there isn't a conflict in the Network Security Group rules, usually the NSG is bound only on the VNET, but there are cases that you bind on both the VNET and the NIC, if you have two nsgs, make sure that the inbound rule is currently configured on both
You can go to Network Watcher -> Effective security rules - to verify which NSG are associated with your VM
just like:
You can also run "NSG Diagnostics" to verify if there are any deny rule, just like:
Get in touch if you need more help with this issue.
--please don't forget to "[Accept the answer]" if the reply is helpful--