Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use the webui from remote? #273

Closed
myqq0000 opened this issue Aug 26, 2017 · 5 comments
Closed

Can I use the webui from remote? #273

myqq0000 opened this issue Aug 26, 2017 · 5 comments

Comments

@myqq0000
Copy link

Hi there. I installed and ran the ipfs on a VPS. And I change the config so that I can use it from remote. (Such as my own device).
My config is like that:

"Addresses": {
    "Swarm": [
      "/ip4/0.0.0.0/tcp/4001",
      "/ip6/::/tcp/4001"
    ],
    "API": "/ip4/0.0.0.0/tcp/5001",
    "Gateway": "/ip4/0.0.0.0/tcp/8080"
  }

I change the 127.0.0.1 to 0.0.0.0
So that I can use command to visit the IPFS on a VPS.
But when I try to visit the webui through serverip:5001/webui, it shows nothing...
Can you tell me how to solve it? Or maybe it's not possible to use webui from remote?
THANKS~

@ghost
Copy link

ghost commented Aug 26, 2017

Please don't open up the API port 5001 to the public -- it's a huge security risk. Use an SSH tunnel instead, e.g. ssh -L 5001:localhost:5001 user@serverip. This will give you a local port 5001 forwarded to the actual API port, but without exposing it to the public.

@daviddias
Copy link
Member

Closing this issue. If you still have more questions, please open a thread on https://discuss.ipfs.io/. Thanks!

@myfingerhurt
Copy link

For the reference see
ipfs/ipfs-webui#594 (comment)

@trancephorm
Copy link

I have the same problem. Thing is if we change from 127.0.0.1 to something like 192.168.1.10, we're opening it just to local network, and it's not much of a security risk. I see now issue is opened about this, was this solved at all - can we access webui from some other than local machine?

@Stebalien
Copy link
Member

#273 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants