I am writing the same thing, but for the Windows Developer command line: let's say the problem is with port 9042
netstat -ano | findstr: 9042
List all processes using port 9042
Taskkill / PID 237979 / F
here 237979 is a process using port 9042
source
share