question

KennyTran-8511 avatar image
0 Votes"
KennyTran-8511 asked ·

Cannot connect to VM through TCP port 5000

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
· 2
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

do you have any update

0 Votes 0 ·

1 Answer

jakaruna-MSFT avatar image
0 Votes"
jakaruna-MSFT answered ·

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

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.