Unable to specific ports on my Azure VM machine

Xander Traptow 21 Reputation points
2020-10-31T00:01:26.847+00:00

Hey there,
I'm stuck trying to build a video management system on a windows 10 VM computer using Azure.
For testing I've disabled all firewalls.
I am trying to open various ports that the video management software needs to be able to function, I've gone through all the steps in this article https://video2.skills-academy.com/en-us/azure/virtual-machines/windows/nsg-quickstart-portal

I am able to open port 559 with no issues, copying that exact configuration to port 560 and 561, they stay closed, they are not listening on the computer, tested with netstat -a in command promt, and also used 3rd party port checker websites to confirm, specifically portchecker.co, it shows open on 559, and when i delete the port config for 559, portchecker shows closed, redo the config, it shows open, try the same config except changed the port to 560, no luck...I've got about 20 ports to open so this software works properly...any help would be greatly appreciated

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,427 questions
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 49,591 Reputation points Microsoft Employee
    2020-11-02T10:40:05.923+00:00

    Hello @Xander Traptow ,

    This will be due to one or more of the below reasons:

    1. There is an NSG at the subnet level as well which is blocking the port.
    2. There is a firewall on the VM its self (windows firewall etc.).
    3. There is nothing listening on that port.

    You should check your service first. To find specified open port, use find switch. For example, to find if the port 560 is open or not, do netstat -an |find /i "560" command. The service should listen on 0.0.0.0 not 127.0.0.1.

    The article you are referring assumes that you've already started the appropriate services and opened any OS firewall rules on the VM prior to opening the ports in NSG rules. If there is no service running on port 560/561, opening those ports in NSG rule will not help.

    Kindly let us know if the above helps or you need further assistance on this issue.

    ----------------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Andreas Baumgarten 109.1K Reputation points MVP
    2020-10-31T09:36:19.663+00:00

    Do you have a second VM in the same subnet of your Windows 10 VM?
    Is the second VM able to connect to the ports 560/561 on the Windows 10 VM?
    This is just to make sure the Windows 10 VM is listening on this ports if network traffic is "local".
    All network traffic/ports in the same subnet are allowed by default.


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.