¿How to fix LISTENING port failures?

EDUARDO ENRIQUE MEJIA FRANCO 0 Reputation points
2024-09-07T18:56:58.24+00:00

Hi,

I'm trying to create a game, but, when I run the .exe to start the server I got some port failures, I already openned the VM ports, attached you will see some of the rules that I created for the VM.

In a moment of desperation I opened all the ports of the virtual machines by ranges, except the most important ones, the ones I was told not to open by recommendation, but I even do netstat and this is what I get

netstat -an | findstr 1978

TCP 10.0.0.4:55058 20.63.16.89:1978 SYN_SENTUser's imageAny suggestion or anyhelp?

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,667 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 49,016 Reputation points Microsoft Employee
    2024-09-09T10:54:10.9833333+00:00

    @EDUARDO ENRIQUE MEJIA FRANCO ,

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

    From your verbatim, and configuration,

    • It looks like you want inbound access from Internet to this VM on Port 1971
    • Is this correct? If not, please let me know

    As next steps,

    • From your Inbound NSG Rules, I can see traffic towards 1971 is allowed
      • As long as the Destination is either the VM's IP or Any or VirtualNetwork
    • This is not a blockage at Platform level
    • It is possible that the application you are trying to run is not accepting the connection properly or not listening on Port 1971 in the first place.
    • From this VM, after starting the application, can you share the results of
      netstat -an | findstr "LISTEN"
    • If your service is listening, you should see results such as below
      • User's image
      • The ":22" on the left side indicates Port 22 is open, and ":0" on right side indicates that any port can communicate to it

    Cheers,

    Kapil

    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.