Cannot connect to VM through TCP port 5000

KennyTran 1 Reputation point
2020-03-15T14:55:25.46+00:00

Hi,

I tried to connect to my VM (Windows Server 2012) using TCP port 5000. What I have done is:

  1. Set up Network Security Group to allow inbound connection on port 5000
  2. Set up Window Firewall to allow inbound connection on port 5000
    I used software called PackageSender (https://packetsender.com) to send TCP package to my VM through port 5000 but could not do that successfully.
    Here is the screenshot
    4491-annotation-2020-03-15-215233.jpg

Can anyone help me to figure out what I am missing here?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,464 questions
{count} votes

1 answer

Sort by: Most helpful
  1. jakaruna-MSFT 596 Reputation points Microsoft Employee
    2020-03-16T09:43:22.113+00:00

    You setup looks good.
    Please make sure you have a service which is listening on port 5000 on that VM.
    If you have that running, Try to access that inside the VM and make sure it working fine.

    If it works well inside the machine , then some where in the network the traffic is blocked.

    Then disable the firewall on that server and try to access from outside. After testing please enable the firewall again.

    Your NSg rules looks good.

    You can also deploy another VM on the same vent and try to access them.

    Try these and let me know

    0 comments No comments