I have already geth clients running in my machine. I want to install the api and connected to my geth clients.
I followed the readme and I have this processes.json file
"env":
{
"NODE_ENV" : "production", // tell the client we're in production environment
"RPC_HOST" : "localhost", // eth JSON-RPC host
"RPC_PORT" : "8502", // eth JSON-RPC port
"LISTENING_PORT" : "30312", // eth listening port (only used for display)
"INSTANCE_NAME" : "", // whatever you wish to name your node
"CONTACT_DETAILS" : "", // add your contact details here if you wish (email/skype)
"WS_SERVER" : "10.2.1.139", // path to eth-netstats WebSockets api server
"WS_SECRET" : "mypasswd", // WebSockets api server secret used for login
"VERBOSITY" : 2 // Set the verbosity (0 = silent, 1 = error, warn, 2 = error, warn, info, success, 3 = all logs)
}
then when I run : npm start processes.json
I got this error:
I have already geth clients running in my machine. I want to install the api and connected to my geth clients. I followed the readme and I have this processes.json file
then when I run :
npm start processes.json
I got this error:[eth] =✘= Web3 connection attempt #0 failed