problem with socket
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:
I have open the port in the EC2 management console.
Could not connect:  Network is unreachable
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!!
I solved the problem disabling the firewall with this command
Is it good to disable the Firewall??
Thank you very much