# telnet 10.XXX.58.95 24007 Trying 10.XXX.58.95... telnet: Unable to connect to remote host: Connection timed out This doesn't make sense though because the 2 servers are both in the same security group which means that they should be able to connect on internal IP or internal hostname with each other on any port. Have you tried 3.1.2 on ec2 yet?