You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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`.
360
362
361
363
Congrats! You have created a project and compiled, tested and deployed a smart contract.
0 commit comments