_Originally posted by @ckerr in https://github.com/transmission/portcheck/pull/3#issuecomment-1436016857_