I AM TRYING TO OPEN PORT ON AZURE VM

EMMANUEL OMOTAYO 0 Reputation points
2023-01-19T08:15:33.8666667+00:00

Dear Support, port 5124 was created but it's not in the list of open ports after running netstat -an | find /i "5124" the PORT is still not on the list.

I have allowed the port in inbound rules and also, and I have allowed the port through the Firewall on the Azure VM, but I still cannot find the port.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,798 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Manu Philip 17,671 Reputation points MVP
    2023-01-19T08:54:06.1166667+00:00

    Are you running any application that listens the port 5124? If not, the port can't be seen in the open port list


    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  2. TP 83,971 Reputation points
    2023-01-19T08:57:29.01+00:00

    Hi,

    Do you have a program running on the VM that listens on port 5124? This is required for you to see a port listening when doing a netstat.

    For example, I could create a .exe using Visual Studio and make it so it listens on TCP 5124, and when I run the exe you would see it using netstat. If I want someone to be able to connect to this port I would need to make sure that it is permitted in Windows Firewall with Advanced Security and NSG inbound rules.

    Please click Accept Answer if the above is helpful. If you have questions please ask them in a comment.

    Thanks.

    -TP

    0 comments No comments