Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.1k views
in Technique[技术] by (71.8m points)

couchdb - What can I do when bind: adress already in use?

When I want to run my network with hyperledger fabric v. 2 and couchdb I get following error for all couchdb and ppeers:

WARNING: Host is already in use by another container

ERROR: for ca_peerOrg1  Cannot start service ca0: driver failed programming external connectivity on endpoint ca_peerOrg1 (e1ebe2f0cbdbddf0a1873a3db798e21ecd9aa5bac1944eb522bddaedabc87eba): Error starting userland proxy: listen tcp 0.0.0.0:7054: bind: address already in use
Creating ca_peerOrg2          ... error

What I have done so far, but wasn't helping:

docker rm -f $(docker ps -a -q)

Then I wanted to stop docker compose, by follwoing command:

docker-compose stop

But I got some errors, and actually I installed docker compose before.

Then I removed the images and installed them again with the commands:

I am always working in the same project. Just starting it sometimes again, to solve some errors. I do not understand, how I can all bring down and up again.

For starting my network I use following command:

sudo ./start_Network.sh

If I want to use sudo ./start_Network.sh down is not working.

What can I do to solve my errors?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...