The error message ERROR: The process "3196" not found. occurs because the process with PID 3196 is no longer running, even though it was listed as listening on port 8000 when you checked with netstat. This could happen if the process terminated on its own between the netstat command and your attempt to kill it.
Here are a few things you can try:
Re-run netstat -ano to see if the process is still using port 8000.
If the PID has changed, use the new PID to kill the process. If no process is listening on port 8000, the process may have already terminated. Verify the task:
Run tasklist to see if PID 3196 is listed in the running processes. Restart your terminal:
If you are using a service like a local web server (e.g., a Node.js server), it might have crashed and released the port but left some residual references. Restarting your terminal might help clear any inconsistencies. Clear the port manually:
If the port 8000 is still occupied but no process is visible, restarting your machine or using netsh to free the port might help. If the process is critical, check the source (e.g., a web server, etc.) and restart it manually if needed.