blackholeDB icon indicating copy to clipboard operation
blackholeDB copied to clipboard

Error when running the example

Open smoyer64 opened this issue 4 years ago • 1 comments

When I run the example I get the following error:

2019/09/27 15:28:23 Post http://localhost:5001/api/v0/add?: dial tcp 127.0.0.1:5001: connect: connection refused
exit status 1

I believe that it's necessary to start the local BadgerDB before running this code but that's not clear in the instructions.

smoyer64 avatar Sep 27 '19 19:09 smoyer64

You need to have ipfs daemon running in background. 5001 is usually where API server for ipfs is running.

Sulejman avatar Jan 21 '20 08:01 Sulejman