GithubHelp home page GithubHelp logo

Comments (2)

masterDev1985 avatar masterDev1985 commented on July 29, 2024

New readers should see #31 for a discussion on these connection refused messages.

from cp-web.

masterDev1985 avatar masterDev1985 commented on July 29, 2024

The commercial paper demo has been updated to use the new fabric SDK. I'm pretty sure that your connection refused messages are a result of not connecting to the right host and port from your machine. However, you will need to have a "WebAppAdmin" user set up in your credentials with registrar privileges as shown here:
https://github.com/hyperledger/fabric/blob/master/membersrvc/membersrvc.yaml#L86

You are trying to connect to the TLS port on your peer (443) but are trying to connect without TLS? First, are you sure that you have set up your network to use TLS? I don't think the vagrant environment configures that by default. You might be able to connect if you just use the non-TLS port (5000). Also, unless you've modified your vagrant file, the VM that vagrant stands up isn't going to be connected to your localhost on port 443 anyway:

==> default: Forwarding ports...
    default: 5000 (guest) => 5000 (host) (adapter 1)
    default: 30303 (guest) => 30303 (host) (adapter 1)
    default: 50051 (guest) => 50051 (host) (adapter 1)
    default: 31315 (guest) => 31315 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...

from cp-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.