question

KenDzz-7753 avatar image
0 Votes"
KenDzz-7753 asked KenDzz-7753 commented

I cannot open ports 9200, 9202, 9208

I tried to open it on website and in windows firewall. But it doesn't work...

17187-image.png

17194-image.png


17149-image.png


17150-image.png


azure-virtual-network
image.png (8.6 KiB)
image.png (8.8 KiB)
image.png (205.0 KiB)
image.png (7.8 KiB)
· 5
5 |1600 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.

help me, please

0 Votes 0 ·

Scenario 1: Local Access works fine, server starts normally
Config: "IP": "127.0.0.1" or Private IP address :"10.0.1.4". starting with Server.exe
Result: Server starts normally and can access locally, but not externally. This is expected.

Scenario 2: Using the PUBLIC IP of the VM or the URL
Config: "IP": "52.139.190.227" and starting with Server.exe --Security.UnsecuredAccessAllowed=PublicNetwork
Result: Server executable returns an error stating that it cannot start and returns the following error:
System.IO.IOException: Unable to start tcp listener on 52.139.190.227 on port 9200 - --> System.Net.Sockets.SocketException: The requested address is not valid in it's context

0 Votes 0 ·

Hello @KenDzz-7753 ,

Could you please run the netstat -an |find /i "listening" command and check if ports 9200, 9202, 9208 are open and listening?
Post this check the NSG on both the VM and Subnet and make sure these ports are allowed for inbound connection.

Thanks,
Gita

0 Votes 0 ·

Hello @KenDzz-7753 ,

Could you please provide an update on this post?

Kindly let us know if the above helps or you need further assistance on this issue.

Thanks,
Gita

0 Votes 0 ·

Hello @KenDzz-7753 ,

Any update on this post?

Thanks,
Gita

0 Votes 0 ·

1 Answer

Sam-Cogan avatar image
0 Votes"
Sam-Cogan answered

You need to look at what Network Security Groups are applied to your VM and open the ports required in these. Based on your images you have only looked at the VM firewall.

5 |1600 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.