Not able to attach geth ipc Fatal Unable to attach to remote geth connect connection refused

0 votes

First I ran this command: 

geth  --datadir “/home/blockchain/Downloads/privatechain/data” --networkid 99 --port 30303

And now I am trying to attach geth.ipc and start geth console but the connection is not happening.

$ geth attach /home/user/.ethereum/geth.ipc console
Fatal: Unable to attach to remote geth: dial unix /home/user/.ethereum/geth.ipc: connect: connection refused
Dec 6, 2018 in Blockchain by slayer
• 29,370 points
2,983 views

1 answer to this question.

0 votes

You should not mention double quotes for path. Run the first command without quotes:

geth  --datadir /home/blockchain/Downloads/privatechain/data --networkid 99 --port 30303
answered Dec 6, 2018 by Omkar
• 69,220 points

Related Questions In Blockchain

–1 vote
1 answer

Not able to use geth attach

You are getting this error because you ...READ MORE

answered Jan 17, 2019 in Blockchain by Omkar
• 69,220 points
5,430 views
0 votes
1 answer

Not able to invoke a contract in Ethereum Private chain using geth

Hope this helps: contract mortal { /* ...READ MORE

answered Oct 22, 2018 in Blockchain by Omkar
• 69,220 points
979 views
0 votes
1 answer
+2 votes
3 answers

Hyperledger Fabric: Peer Connection error: Failed obtaining connection: Could not connect to any of the endpoints.

 You can extend your /etc/hosts file and make orderer.example.com domain name ...READ MORE

answered Nov 13, 2018 in Blockchain by Omkar
• 69,220 points
3,890 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,923 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,451 views
0 votes
0 answers

Error: Unexpected token o in JSON at position 1

I have been working with Interacting a ...READ MORE

Mar 6, 2019 in Blockchain by saeedi
• 120 points

edited Mar 6, 2019 by Omkar 2,476 views
0 votes
2 answers

“geth attach” command shows error: Fatal: Unable to attach to remote geth

please check from root, sudo -i geth attach READ MORE

answered Nov 7, 2020 in Blockchain by balachandar
• 140 points
7,142 views
–1 vote
1 answer

geth attach Fatal: Unable to attach to remote geth: no known transport for URL scheme "c"

Seems like geth.ipc path is not set. When ...READ MORE

answered Jan 17, 2019 in Blockchain by Omkar
• 69,220 points
2,032 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