Skip to content

Commit

Permalink
Improve the docs a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
alcuadrado committed Sep 13, 2024
1 parent a3e732d commit ff74f1d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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`:<br /><br /> `--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.

Expand Down

0 comments on commit ff74f1d

Please sign in to comment.