From ff74f1d13678b28b701e35ca40f9c6c8b777d8bb Mon Sep 17 00:00:00 2001 From: Patricio Palladino Date: Fri, 13 Sep 2024 23:54:37 +0000 Subject: [PATCH] Improve the docs a bit --- docs/src/content/hardhat-runner/docs/getting-started/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/content/hardhat-runner/docs/getting-started/index.md b/docs/src/content/hardhat-runner/docs/getting-started/index.md index 4ab071a282..5e57f6fb8d 100644 --- a/docs/src/content/hardhat-runner/docs/getting-started/index.md +++ b/docs/src/content/hardhat-runner/docs/getting-started/index.md @@ -356,7 +356,9 @@ npx hardhat ignition deploy ./ignition/modules/Lock.js --network localhost :::: -To run Hardhat Network on specific port and allow traffic from specific address add hostname in this way, run `npx hardhat node --hostname 127.0.0.1 --port 8545`:

`--hostname 0.0.0.0` will allow access to rpc from any external ip. +To run Hardhat Network on specific port and allow incoming requests from a specific network interface or hostname, run `npx hardhat node --hostname 127.0.0.1 --port 8545`. + +If you want to allow incoming requests from anywhere, including external ips, use `--hostname 0.0.0.0`. Congrats! You have created a project and compiled, tested and deployed a smart contract.