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, 2019 in Blockchain by slayer
• 29,310 points

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, 2019 by Omkar
• 69,170 points

please use this command geth attach ipc:\\.\pipe\geth.ipc

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,310 points
+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,310 points
0 votes
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,310 points
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 1,480 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
0 votes
1 answer
0 votes
1 answer
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