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




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




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
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
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
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.
4 people are following this question.