current position:Home>POST https://ipfs.infura.io:5001/api/v0/add?stream -channels=true net::ERR_ CONNECTION_ TIMED_ Out as shown in the figure

POST https://ipfs.infura.io:5001/api/v0/add?stream -channels=true net::ERR_ CONNECTION_ TIMED_ Out as shown in the figure

2022-02-03 22:48:17 Q & A of Denglian community

.JPG This is a ipfs Cross domain issues ?




Take the answer 1:

It's solved , Do not use infura.iol even ( I don't know why I can't connect ), I don't even localhost, want npm install ipfs-apiconst ipfsAPI = require('ipfs-api');const ipfs = ipfsAPI({host: 'localhost',port: '5001',protocol: 'http'});






Other answers 1:

copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202032248153442.html

Random recommended