From 744fa22f0171dfaeecb3322ba929e598f14f4d65 Mon Sep 17 00:00:00 2001 From: nitper Date: Tue, 22 Jan 2019 14:14:12 -0500 Subject: allow devnet rpc to listen on any vhost geth's default value for `--rpcvhosts` is `localhost`, which does not work when trying to use the devnet in certain environments such as `docker-compose` or `gitlab-ci` --- packages/devnet/run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/devnet/run.sh b/packages/devnet/run.sh index dea243396..6000813f0 100755 --- a/packages/devnet/run.sh +++ b/packages/devnet/run.sh @@ -15,6 +15,7 @@ mkdir -p /var/log --rpc \ --rpcaddr '0.0.0.0' \ --rpcport 8501 \ + --rpcvhosts '*' \ --rpcapi 'personal,db,eth,net,web3,txpool,miner,debug' \ --networkid 50 \ --gasprice '2000000000' \ -- cgit v1.2.3