IPFS http server is refusing connection

394 Views Asked by At

I have used ipsf-http-client package to be able to save files into IPFS. I run the daemon through ipfs daemon. I can see that IPFS is working on my server instance. And in my local environment everything is fine and works as expected. but I have an issue in the server. Here is a traceback: enter image description here

I would like to ask for any tips or help in this matter as I have been entirely stuck on it.

1

There are 1 best solutions below

0
On

Fixed it by using configuration for multiaddr:
"// or connect with multiaddr"
const ipfs = create('/ip4/127.0.0.1/tcp/5001')