how to connect a web browser with the hyperledger fabric running blockchain peer container please give answers with step by step commands

0 votes
Jun 12, 2019 in Blockchain by Rumaiz
1,156 views

1 answer to this question.

0 votes
Hello,

It is not possible to connect a web browser directly with a peer container. This is because a peer is running container running inside a server. You can create a API (exposing a specific defined port of your choice. You should be cautious of which port you eventually choose because a Hyperledger fabric network uses a lot of ports.) that connects with the Hyperledger Fabric Blockchain server (which all the necessary components are deployed). You can invoke and query a smart contract from a browser to that server, by defining the routes of the api and writing the necessary code inside API, in order to receive the data and pass then to the chaincode.
answered May 26, 2020 by anonymous

Related Questions In Blockchain

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to join a peer to a channel in Hyperledger Fabric?

When you run the command: peer channel create ...READ MORE

answered Jul 31, 2018 in Blockchain by digger
• 26,740 points
2,084 views
0 votes
1 answer
0 votes
1 answer

How to explore and analyze the data inside a Hyperledger Blockchain network?

In Hyperledger Composer, you have all the ...READ MORE

answered Aug 10, 2018 in Blockchain by Christine
• 15,790 points
1,315 views
0 votes
1 answer

Docker: How to connect Node.js in container to Hyperledger Fabric?

You need to map ~/.composer/cards of your Docker host ...READ MORE

answered Oct 31, 2018 in Blockchain by Omkar
• 69,220 points
1,124 views
+2 votes
3 answers

Hyperledger Fabric: Peer Connection error: Failed obtaining connection: Could not connect to any of the endpoints.

 You can extend your /etc/hosts file and make orderer.example.com domain name ...READ MORE

answered Nov 13, 2018 in Blockchain by Omkar
• 69,220 points
3,890 views
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