Switching localhost to IP address.