Not able to connect to Ethereum client

0 votes
I am using ganache. I added my project in the workspace(truffle.js file). The port number is the same as it is in the truffle.js file. I tried a lot and googled for it. But I am not able to solve this problem.
Apr 22, 2019 in Blockchain by anonymous

retagged Apr 23, 2019 by Omkar 858 views

As you might have already seen in the error, this error could be for one the following reason:

    - is running
    - is accepting RPC connections (i.e., "--rpc" option is used in geth)
    - is accessible over the network
    - is properly configured in your Truffle configuration file (truffle.js)

Please mention more details on what all you have tried and the contents in the truffle.js file.

1 answer to this question.

0 votes
There is another way to link it. When you open ganache there is mnemonic code written on it. You have to open the example.json file and paste that mnemonic code in that section and it will work then.
answered Apr 28, 2019 by Aashish Pasricha

Hi @Aashish. I cannot find the example.json file. Please help me out. 

Related Questions In Blockchain

0 votes
3 answers

Truffle migrate Could not connect to your Ethereum client.

As mentioned in the previous answer, you ...READ MORE

answered Feb 19, 2019 in Blockchain by Dinesh
11,306 views
0 votes
1 answer

Not able to connect to Ethereum node in web browser

By default, geth listens only to localhost. ...READ MORE

answered Jan 16, 2019 in Blockchain by Omkar
• 69,210 points
1,683 views
0 votes
1 answer

Not able to connect nodes on Ethereum Private Network using bootnodes.

If you have created the private network ...READ MORE

answered Jan 27, 2019 in Blockchain by Omkar
• 69,210 points
1,582 views
0 votes
1 answer

Ethereum wallet not able to make transaction

I can see that the nonce you ...READ MORE

answered Aug 9, 2018 in Blockchain by slayer
• 29,350 points
464 views
0 votes
1 answer

How to connect to already running go ethereum client using mist Ubuntu

Hey, you can solve the issue by using sudo ...READ MORE

answered Sep 18, 2018 in Blockchain by digger
• 26,740 points
535 views
0 votes
1 answer

Not able to send Ethereum transaction

Hey, Change this line: await crowdsale.sendTransaction({value, from: buyer, gas: ...READ MORE

answered Sep 24, 2018 in Blockchain by slayer
• 29,350 points
481 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,663 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,215 views
+1 vote
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured ...READ MORE

answered Aug 6, 2018 in Blockchain by aryya
• 7,450 points
1,129 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP