I'm creating a node in my NodeJS application using IPFS.create(). The node works fine, but I cannot connect to its HTTP API endpoint -- port 5001 is not open (nor is 5002).
Steps to reproduce the error:
Execute await IPFS.create() at startup.
Run curl -L -X POST 'http://127.0.0.1:5001/api/v0/id' from the command line.
The file ~/.ipfs/api has a single line that says /ip4/127.0.0.1/tcp/5001/http
The text was updated successfully, but these errors were encountered:
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:
"Priority" labels will show how urgent this is for the team.
"Status" labels will show if this is ready to be worked on, blocked, or in progress.
"Need" labels will indicate if additional input or analysis is required.
uluhonolulu commentedFeb 19, 2021
Version: 0.5.2
Platform: Windows 64bit
Severity: High
Description:
I'm creating a node in my NodeJS application using
IPFS.create(). The node works fine, but I cannot connect to its HTTP API endpoint -- port 5001 is not open (nor is 5002).Steps to reproduce the error:
await IPFS.create()at startup.curl -L -X POST 'http://127.0.0.1:5001/api/v0/id'from the command line.The file ~/.ipfs/api has a single line that says
/ip4/127.0.0.1/tcp/5001/httpThe text was updated successfully, but these errors were encountered: