@echo off
echo Stopping application...
for /f "tokens=5" %%a in ('netstat -ano ^| findstr :58461 ^| findstr LISTENING') do (
    echo Killing process %%a
    taskkill /F /PID %%a 2>nul
)
echo Application stopped.
