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,040 points
232 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 66,880 points

Related Questions In Blockchain

0 votes
1 answer

Not able to use geth attach

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

answered Jan 17 in Blockchain by Omkar
• 66,880 points
115 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
• 66,880 points
32 views
+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
• 66,880 points
503 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
77 views
0 votes
1 answer
0 votes
0 answers

Error: Unexpected token o in JSON at position 1

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

Mar 6 in Blockchain by saeedi
• 120 points

edited Mar 6 by Omkar 152 views
0 votes
1 answer

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

Seems like the geth.ipc file is not present in ...READ MORE

answered Jan 16 in Blockchain by Omkar
• 66,880 points
54 views
0 votes
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 16 in Blockchain by Omkar
• 66,880 points
60 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.