Open klemendlabs opened 6 years ago
var GETH_HOSTNAME = "localhost";
replace "localhost" with your IP of ec2 ubuntu instance, if you configure Nginx for port 8544 then replace "http://"+GETH_HOSTNAME+":"+GETH_RPCPORT
on line app.js line no 96 web3.setProvider(new web3.providers.HttpProvider("http://"+GETH_HOSTNAME+":"+GETH_RPCPORT));
with your domain name.
if you are still facing a problem mail me at tauseef.naqvi786@gmail.com
I'm using
app/app.js
geth node
/usr/bin/geth --rpc --rpcaddr localhost --rpccorsdomain "*" --rpcvhosts "*" --rpcport 8544 --testnet --rpcapi "eth,net,web3,personal"
package.json
"start": "http-server ./app -a localhost -p 8000 -c-1",
Starting up http-server, serving ./app Available on: http://localhost:8000
Can't get it to work, the main problem is that I can't get the explorer to connect to node : Error: CONNECTION ERROR: Couldn't connect to node http://localhost:8544, is it running?
Could be the relatively outdated packages (web3, http-server)?