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

retagged Apr 22, 2019 by Omkar 138 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
3,393 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,040 points
293 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,040 points
408 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,270 points
62 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,670 points
85 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,270 points
68 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,810 points
348 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 aryya
• 7,370 points
218 views