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 "" port 7050 (Errno::EADDRNOTAVAIL)

Can someone tell me how to solve this?

Oct 29, 2018 in Blockchain by slayer
• 29,300 points

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: "" # fabric orderer service

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

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

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

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

Vagrant should now work. 

answered Oct 29, 2018 by Omkar
• 69,030 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,620 points

edited Jun 8 by Sirajul 396 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
+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
+1 vote
1 answer
0 votes
1 answer
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,680 points
+1 vote
1 answer
+15 votes
5 answers
+16 votes
4 answers