Files
AIclinicalresearch/重启服务.bat
AI Clinical Dev Team 16b975c340 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)
2025-10-10 21:23:51 +08:00

22 lines
370 B
Batchfile

@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 重启完成!