I have an instance m3 large both the instance and the security group are outside vpc. I'm running a simple server application at port 5674. the port 5674 is open to all in the security group. still my client code is not able to reach the port when given the public ip. The error it gives is EHOSTUNREACH
At Server side this is the response of
netstat -atn
tcp6 0 0 :::5674 :::* LISTEN
At Client
netcat -v myPublicIp 5674
connect to myPublicIp port 5674 (tcp) failed: No route to host
what could be the reason ? same client program works if I give localhost as the host.
It doesn't even work from the same system .