#!/bin/bash echo "🚀 快速测试8081端口连通性" echo "==========================" echo "1. 检查服务状态:" systemctl status openclaw-files --no-pager | grep "Active:" echo -e "\n2. 检查端口监听:" ss -tulpn | grep :8081 echo -e "\n3. 本地访问测试:" curl -s -o /dev/null -w "状态码: %{http_code}\n" http://localhost:8081/ echo -e "\n4. 文件访问测试:" curl -s http://localhost:8081/ai-era-ecosystem-script.md | head -3 echo -e "\n5. 公网IP确认:" curl -s ifconfig.me echo -e "\n✅ 测试完成" echo -e "\n📋 访问URL:" echo "http://115.190.217.131:8081/ai-era-ecosystem-script.md"