change localhost to ip of the host