how to stop process running on port 8080 in mac code example
Example 1: kill process running on port mac
sudo lsof -i :3000
kill -9 <PID>
Example 2: how to stop port 8080
netstat -ano | findstr <Port Number>
Example 3: release a port in mac
sudo lsof -i :<port>
Example 4: how to stop port 8080
C:\Users\RevisitClass>netstat -ano | findstr 8080
TCP 0.0.0.0:18080 0.0.0.0:0 LISTENING 19788
TCP [::]:18080 [::]:0 LISTENING 19788