Azure Networking: Unable to Open Port 14956 Correctly

Lane O'Brien 21 Reputation points

I am unable to communicate on port 14956.

I have a VM running a program where the communication must occur on this port.

I have 4 virtual devices in this instance:

VM:- For the purposes of this, I have unfortunately disabled the OS Firewall (Which will be brought back up after communication is proven to be established through the NSG)
Subnet ManagedInstance
NIC xxxx857
NSG xxxx-nsg

Everytime I run the Connection Troubleshoot on the VM home page, it gives me this error:

I understand that whatever priority rule for that particular port rule is picked up first is used, so ideally it should be getting picked up as the priority is 360 and should be fine, however I am unable to contact my program on this port, and the onsite testing also fails and refers me to the NSG.

EDIT: I've since tailored the destination of this to be my VM IP, however my issue is not alleviated.

Here is a screenshot of my NIC Port Rules from that view


and one of the view from xxxx-NSG


Am I configuring these rules incorrectly? (I definitely am)

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,034 questions
0 comments No comments
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 45,506 Reputation points Microsoft Employee

    Hello @Lane O'Brien ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    The incorrect part of your NSG configuration is the source port range, which you have mentioned as 14956.

    It should be Any (which is defined as an asterisk).
    Since the source is Any, you cannot control which port the source will use to send the traffic to your VM. So, you need to change the source port to Any and it should work just fine.

    Refer :

    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.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful