-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcheck-services.bat
More file actions
47 lines (41 loc) · 1.18 KB
/
check-services.bat
File metadata and controls
47 lines (41 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@echo off
echo ====================================
echo Provability-Fabric Service Status
echo ====================================
echo.
echo Checking services...
echo.
REM Check Admin Interface
curl -s http://localhost:9000 >nul 2>&1
if %errorlevel% == 0 (
echo [✓] Admin Interface - RUNNING on port 9000
) else (
echo [✗] Admin Interface - NOT RUNNING on port 9000
)
REM Check Documentation
curl -s http://127.0.0.1:8002 >nul 2>&1
if %errorlevel% == 0 (
echo [✓] Documentation - RUNNING on port 8002
) else (
echo [✗] Documentation - NOT RUNNING on port 8002
)
REM Check Marketplace UI
curl -s http://localhost:3000 >nul 2>&1
if %errorlevel% == 0 (
echo [✓] Marketplace UI - RUNNING on port 3000
) else (
echo [✗] Marketplace UI - NOT RUNNING on port 3000
)
REM Check Ledger Service
curl -s http://localhost:4000 >nul 2>&1
if %errorlevel% == 0 (
echo [✓] Ledger GraphQL - RUNNING on port 4000
) else (
echo [✗] Ledger GraphQL - NOT RUNNING on port 4000
)
echo.
echo ====================================
echo Service Status Check Complete
echo ====================================
echo.
pause