geth attach command showing error: bind: address already in use

0 votes

When I run 

geth attach 

command, I am getting this following error:

Fatal: Error starting protocol stack: listen udp :30303: bind: address already in use

How to solve this?

Jan 16 in Blockchain by slayer
• 29,050 points
120 views

1 answer to this question.

0 votes

Seems like there is already a geth instance running on your system. To solve this error, you have to terminate that process. 

Use this command to find the pid of geth:

ps -eaux | grep "geth"

Once you get the process id and kill that process using

kill -9 <pid>

 

answered Jan 16 by Omkar
• 67,460 points

Related Questions In Blockchain

0 votes
1 answer

Error while running curl command in Docker Quickstart Terminal

You can get the new version of ...READ MORE

answered Jul 12, 2018 in Blockchain by slayer
• 29,050 points
241 views
+1 vote
5 answers

How to solve "truffle: command not found" error in blockchain?

First try restarting the system and then ...READ MORE

answered Jul 16, 2018 in Blockchain by slayer
• 29,050 points
855 views
+1 vote
4 answers

How to solve “bind: cannot assign requested address” Error?

You must mention in your host.conf file ...READ MORE

answered Jul 31, 2018 in Blockchain by slayer
• 29,050 points
1,181 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 in Blockchain by saeedi
• 120 points

edited Mar 6 by Omkar 369 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
140 views
0 votes
1 answer
0 votes
1 answer
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
• 67,460 points
89 views