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/127.0.0.1/tcp/4001
Swarm listening on /ip4/202.182.100.59/tcp/4001
Swarm listening on /ip6/::1/tcp/4001
API server listening on /ip4/127.0.0.1/tcp/5001
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8080
Daemon is ready

when i enter url 202.182.100.59:5001 or localhost:5001 or 127.0.0.1:5001 or 127.0.0.8080 or 202.182.100.59:8080 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.

Hello,

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/0.0.0.0/tcp/5001",

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.