Reputation: 387
There is a virtual machine with Windows Server 2016 in Azure. The port is open in the operating system's firewall. Also the port is open in the Network Security Group. I used telnet to check the port - the port is closed. Did I miss something?
Upvotes: 3
Views: 2293
Reputation: 19195
You could use netstat -ant|findstr <port>
to check what IP your service is listening.
If your service is listening on localhost(127.0.0.1)
,which means it won't accept any connections from outside its local host. Your service should listen on 0.0.0.0
or your VM's private IP.
I did it on the server, but the command window does not show anything.
If it show noting, it means your service did not start successful or listen on other port. You need check it.
Upvotes: 1