changed sockethost to ec2