trufflesuite / ganache

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
2.62k stars 678 forks source link

Ganache default port 7545, or 8545? #4015

Closed cilphex closed 1 year ago

cilphex commented 1 year ago

I've recently started ethereum/solidity programming and I'm using Ganache to run the local blockchain.

When I start up a quickstart workspace in Ganache, by default I see that it is set to port 7545. However, if you search Google for "Ganache default port", it says that it's 8545. 8545 would seem to be the expectation of other projects as well, such as the wagmi localhost chain descriptor.

Why does my local copy of Ganache have a default port of 7545? Has it recently changed?

davidmurdoch commented 1 year ago

Ganache UI has a default of 7545. Ganache, the npm package, has a default of 8545.