Skip to content
New issue

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

Black Dashboard on public IP #52

Open
Mer-idium opened this issue Jul 4, 2018 · 1 comment
Open

Black Dashboard on public IP #52

Mer-idium opened this issue Jul 4, 2018 · 1 comment

Comments

@Mer-idium
Copy link

Mer-idium commented Jul 4, 2018

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:

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"

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

@stone212
Copy link

Seems like you have a few issues. Start with the reverse proxy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants