Read IP from command arguments.