changing the host for socket