Hyperledger fabric vagrant up in devenv fails

0 votes

I'm following the instructions at this link: https://github.com/hyperledger/fabric/blob/master/examples/e2e_cli/end-to-end.rst

I get the following error when i run vagrant up:

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'hyperledger/fabric-baseimage'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'hyperledger/fabric-baseimage' is up to date...
==> default: Setting the name of the VM: hyperledger
==> default: Destroying VM and associated drives...
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-      1.9.3/lib/vagrant/util/is_port_open.rb:21:in `initialize': The requested address is not valid in its context. - connect(2) for "0.0.0.0" port 7050 (Errno::EADDRNOTAVAIL)

Can someone tell me how to solve this?

Oct 29, 2018 in Blockchain by slayer
• 29,350 points
447 views

1 answer to this question.

0 votes

This is a problem with vagrant 1.9.3:

You can upgrade to the latest version to stop getting this error or, 

To make it work with this version, specify host ip in the Vagrantfile in every port forwarding command:

config.vm.network :forwarded_port, guest: 7050, host: 7050, host_ip: "127.0.0.1" # fabric orderer service

config.vm.network :forwarded_port, guest: 7051, host: 7051, host_ip: "127.0.0.1" # fabric peer service

config.vm.network :forwarded_port, guest: 7053, host: 7053, host_ip: "127.0.0.1" # fabric peer event service

config.vm.network :forwarded_port, guest: 7054, host: 7054, host_ip: "127.0.0.1" # fabric-ca service

config.vm.network :forwarded_port, guest: 5984, host: 15984, host_ip: "127.0.0.1" # CouchDB service

Vagrant should now work. 

answered Oct 29, 2018 by Omkar
• 69,210 points

Related Questions In Blockchain

+1 vote
2 answers

Challenge while setting up Hyperledger Fabric 1.0 in Ubuntu 16.04

The rocksdb error you're seeing wouldn't be ...READ MORE

answered Mar 27, 2018 in Blockchain by ned_crew
• 1,610 points

edited Jun 8, 2020 by Sirajul 925 views
0 votes
1 answer

Unable to bring up first network in hyperledger fabric

I think there's a conflict with docker ...READ MORE

answered May 2, 2019 in Blockchain by Karan
2,157 views
+4 votes
2 answers

How do I create a new block in Hyperledger Fabric?

This link might help you: https://github.com/hyperledger/fabric-sample ...READ MORE

answered Oct 11, 2018 in Blockchain by Sahu
2,340 views
+1 vote
1 answer
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,231 views
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,740 points
724 views
+1 vote
1 answer
+15 votes
5 answers
+16 votes
4 answers
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