public static function isNetworkExposedAddress($socketAddress)
    {
        if (self::isUnixAddress($socketAddress)) {
            return false;
        }
        if (strpos($socketAddress, '127.0.0.1') !== false || strpos($socketAddress, '[::1]') !== false) {
            return false;
        }

        return true;
    }
public static function isNetworkExposedAddress($socketAddress)
    {
        if (self::isUnixAddress($socketAddress)) {
            return false;
        }
        if (strpos($socketAddress, '127.0.0.1') !== false || strpos($socketAddress, '[::1]') !== false) {
            return false;
        }

        return true;
    }
@param string $socketAddress

@return bool