We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi All,
I am trying to get this working on a VPS and a public IP.
my geth command looks like this: geth --datadir /dataPath --networkid 9900 --nodiscover --rpc --rpcaddr 127.0.0.1 --rpcapi "web3,net,eth,personal" --rpccorsdomain "http://public IP:15000" console
geth --datadir /dataPath --networkid 9900 --nodiscover --rpc --rpcaddr 127.0.0.1 --rpcapi "web3,net,eth,personal" --rpccorsdomain "http://public IP:15000" console
my app.js is this:
var GETH_HOSTNAME = window.location.hostname; // put your IP address! var APP_HOSTNAME = "See package.json --> scripts --> start: Change 'localhost'!!!"; var GETH_RPCPORT = 8545; // for geth --rpcport GETH_RPCPORT var APP_PORT = "See package.json --> scripts --> start: Perhaps change '8000'"; // this is creating the corrected geth command var WL=window.location; var geth_command = "geth --rpc --rpcaddr "+ GETH_HOSTNAME + " --rpcport " + GETH_RPCPORT +'\ --rpcapi "web3,eth" ' + ' --rpccorsdomain "' + WL.protocol +"//" + WL.host + '"';
and package.json: "start": "http-server ./app -a 0.0.0.0 -p 15000 -c-1"
"start": "http-server ./app -a 0.0.0.0 -p 15000 -c-1"
The webpage comes up with a header and a footer but no blocks are displayed. There is no pop up about geth not being connected as well.
Thanks
The text was updated successfully, but these errors were encountered:
Seems like you have a few issues. Start with the reverse proxy.
Sorry, something went wrong.
No branches or pull requests
Hi All,
I am trying to get this working on a VPS and a public IP.
my geth command looks like this:
geth --datadir /dataPath --networkid 9900 --nodiscover --rpc --rpcaddr 127.0.0.1 --rpcapi "web3,net,eth,personal" --rpccorsdomain "http://public IP:15000" console
my app.js is this:
and package.json:
"start": "http-server ./app -a 0.0.0.0 -p 15000 -c-1"
The webpage comes up with a header and a footer but no blocks are displayed. There is no pop up about geth not being connected as well.
Thanks
The text was updated successfully, but these errors were encountered: