I am working with EC2 Amazon and I have a socket server in PHP listening on port 5006.
The problem is that socket clients can not connect, the error message is:
Could not connect:  Network is unreachable
I have open the port in the EC2 management console.
Also, the IP that the server connects to is the internal IP “172.31.5.211”, not the public IP.
Could you help me please??
Thank you very much!!