You can test the port on Azure portal at your VM blade. Enter in your VM Blade, go to the bottom and select "Connection troubleshoot" . On the right panel select Service custom and port 995 then Test. If works you port is open. Otherwise check in the same blade, networking and then if there is a rule for port 995.