Client should connect to the current host instead of localhost