how to stop a service running on a port code example
Example 1: kill local host bash
npx kill-port 8080
Example 2: kill service by port number on windows
taskkill /F /PID PORT_NUMBER
npx kill-port 8080
taskkill /F /PID PORT_NUMBER