changed socket connection to ec2 ip