fix: add service management scripts for port conflicts

New tools:
- 鍋滄鎵€鏈夋湇鍔?bat - Stop all services
- 鏌ョ湅绔彛鍗犵敤.bat - Check port usage
- 閲嶅惎鏈嶅姟.bat - Restart services
- 蹇€熶慨澶?绔彛鍗犵敤.md - Troubleshooting guide

These scripts help resolve:
- EADDRINUSE error (port 3001 already in use)
- ENOBUFS error (network connection issues)
- Timeout errors (backend not responding)
This commit is contained in:
AI Clinical Dev Team
2025-10-10 21:23:51 +08:00
parent cc3323b795
commit 16b975c340
4 changed files with 373 additions and 0 deletions

21
重启服务.bat Normal file
View File

@@ -0,0 +1,21 @@
@echo off
chcp 65001 >nul
echo ========================================
echo 重启服务
echo ========================================
echo.
echo [1/3] 停止所有现有服务...
call "%~dp0停止所有服务.bat"
echo.
echo [2/3] 等待2秒...
timeout /t 2 /nobreak >nul
echo.
echo [3/3] 启动服务...
call "%~dp0一键启动.bat"
echo.
echo 重启完成!