Azure Networking: Unable to Open Port 14956 Correctly

Lane O'Brien 21 Reputation points
2021-12-08T21:55:07.477+00:00

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:
156036-error1.png

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.

156037-error2.png
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

156082-error3.png

and one of the view from xxxx-NSG

156017-error4.png

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

Accepted answer
  1. GitaraniSharma-MSFT 49,401 Reputation points Microsoft Employee
    2021-12-09T02:45:15.317+00:00

    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.
    156094-image.png

    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.
    156095-image.png

    Refer : https://learn.microsoft.com/en-us/azure/virtual-machines/windows/nsg-quickstart-portal

    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