listen EADDRINUSE: address already in use 0.0.0.0:8545 hardhat code example
Example 1: Error: listen EADDRINUSE: address already in use :::3000
sudo lsof -i :3000
Example 2: Error: listen EADDRINUSE: address already in use :::8888
lsof -n -i:5000