Change endpoint to remote.