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:
21
重启服务.bat
Normal file
21
重启服务.bat
Normal 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 重启完成!
|
||||
|
||||
Reference in New Issue
Block a user