set default ip to localhost