Tools, FAQ, Tutorials:
Check "couchdb" Database Server
How to Check the "couchdb" Database Server?
✍: FYIcenter.com
The "couchdb" database server supports a REST API.
We can use it to look at its data.
1. Find out the REST API port number of the "couchdb" server container:
$ docker ps | grep couchdb hyperledger/fabric-couchdb 4369/tcp, 9100/tcp, 0.0.0.0:5984->5984/tcp couchdb
2. Get CouchDB server information:
$ curl http://localhost:5984/ {"couchdb":"Welcome", "version":"2.2.0", "git_sha":"2a16ec4", "features":["pluggable-storage-engines","scheduler"], "vendor":{"name":"The Apache Software Foundation"} }
2. List all databases:
$ curl http://localhost:5984/_all_dbs ["_replicator","_users","mychannel_"]
As you can see, the CouchDB server is running fine.
Â
⇒ Deploy ca.example.com Manually
⇠Download Blocks from Blockchain
⇑ fabric-samples/basic-network
⇑⇑ Hyperledger Tutorials
2020-03-25, 876👍, 0💬
Popular Posts:
Can You Specify the "new line" Character in Single-Quoted Strings? You can not specify the "new line...
Where to find tutorials on Microsoft Azure services? Here is a large collection of tutorials to answ...
How to view API details on the Publisher Dashboard of an Azure API Management Service? You can follo...
Where to find tutorials on Visual Studio? I want to know How to learn Visual Studio. Here is a large...
How To Move Uploaded Files To Permanent Directory in PHP? PHP stores uploaded files in a temporary d...