1. Check for current active ports: sudo lsof -i :
2. Kill port: kill -9