Error: listen EADDRINUSE: address already in use 127.0.0.1:8545
at Server.setupListenHandle [as_listen_2] (net.js:1309:16)
at listenInCluster (net.js:1357:12)
at GetAddrInfoReqWrap.doListen (net.js:1496:7)
at GetAddrInfoReqWrap.onLookup [as oncomplete] (dns.js:69:10)
error Command failed with exit code 1
yarn run chain in the
package.json yields that it moves in to the buidler directory and executes
npx buidler node. A cursory look at the error looks like buidler defaults to port 8545, but that port is indeed already in use on my machine.
The answer should be simple enough - I just need to have buidler launch the dev chain on a different port. I've looked through the docs, though, and I'm not finding anything.
How do I tell buidler to use a different port?