IPFS not working on Vultr server

root@vultr:~/live_horce_chain# cd go-ipfs
root@vultr:~/live_horce_chain/go-ipfs# ipfs daemon
Initializing daemon...
Adjusting current ulimit to 2048...
Successfully raised file descriptor limit to 2048.
Swarm listening on /ip4/
Swarm listening on /ip4/
Swarm listening on /ip6/::1/tcp/4001
API server listening on /ip4/
Gateway (readonly) server listening on /ip4/
Daemon is ready

when i enter url or localhost:5001 or or or but not working. what was going wrong??

What are you trying to do?

If you’re trying to get to the web UI on localhost, you would go to http://localhost:5001/webui in a browser.


working on local is fine. but not working on live server

If you want to open up the API to listen on external interfaces so that you can access the node from other machines, you can update the Addresses.API section of .ipfs/config to

  "Addresses": {
    "API": "/ip4/",

However, opening up the API to the internet is not recommended because opening up the API to the internet is a security problem.

This discussion may also be relevant:

if you would like to access your ipfs node remotely and add files to it from anywhere, consider an IPFS uploader or an IPFS discord bot. here is a project doing that through discord chats.