Skip to content

Commit ff74f1d

Browse files
committed
Improve the docs a bit
1 parent a3e732d commit ff74f1d

File tree

1 file changed

+3
-1
lines changed
  • docs/src/content/hardhat-runner/docs/getting-started

1 file changed

+3
-1
lines changed

docs/src/content/hardhat-runner/docs/getting-started/index.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,9 @@ npx hardhat ignition deploy ./ignition/modules/Lock.js --network localhost
356356

357357
::::
358358

359-
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`:<br /><br /> `--hostname 0.0.0.0` will allow access to rpc from any external ip.
359+
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`.
360+
361+
If you want to allow incoming requests from anywhere, including external ips, use `--hostname 0.0.0.0`.
360362

361363
Congrats! You have created a project and compiled, tested and deployed a smart contract.
362364

0 commit comments

Comments
 (0)