public static boolean listenByOther(final int port) {
        Optional<String> optionalPid = getPortOwner(port);
        if (optionalPid.isPresent() && !optionalPid.get().equals(SystemUtils.getCurrentPID())) {
            LOGGER.warn("PID {} is listening on port {}.", optionalPid.get(), port);
            return true;
        } else {
            return false;
        }
    }
Check whether the port is listening to by other process.

@param port the port
@return boolean yes or no
shenyu-register-center/shenyu-register-client/shenyu-register-client-http/src/main/java/org/apache/shenyu/register/client/http/utils/RuntimeUtils.java