changes local IP to user IP

User should insert host name or IP.