how to close a port code example
Example 1: how to close a port mac
sudo lsof -i :5955
Example 2: how to shutdown port in windows
netstat -ano | findstr < Port Number >
taskkill /F /PID < Process Id >
sudo lsof -i :5955
netstat -ano | findstr < Port Number >
taskkill /F /PID < Process Id >