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 21 in Blockchain by anonymous

retagged Apr 22 by Omkar 50 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 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 in Blockchain by Dinesh
1,512 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 in Blockchain by Omkar
• 67,380 points
72 views
0 votes
1 answer
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,050 points
35 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
• 27,630 points
48 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,050 points
24 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
138 views
0 votes
1 answer
0 votes
1 answer

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

yes all are over TCP/IP connections secured by TLS encryption in hashgraph architecture-hashgraph, ...READ MORE

answered Aug 6, 2018 in Blockchain by ariaholic
• 7,340 points
75 views