made sure we are using localhost not socket