-
Notifications
You must be signed in to change notification settings - Fork 500
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
Trying to setup ipfs-node in docker and remote-access to private docket-ip for WebUI #939
Comments
@typoworx-de webui always use I dont try docker. But its worked for me after i expose API, allow CORS, change API address with ip. Look at #940 . |
I'm also having no luck getting this to work. I have docker running on a server on my LAN (192.168.30.7), ports are open to 0.0.0.0 on Docker and have configured anything and everything. Can wget on the server and see the webui, but no luck elsewhere on my network. Have tried all sorts of IPFS config changes, e.g.
Connection is refused. No firewall on Ubuntu server enabled. |
Hi @alexfisher -- this issue is a bit stale, may I suggest bringing it up in the forums? https://discuss.ipfs.io/ |
I am closing this because original issue ( Below are some additional pointers for webui and docker, if you still have problems, please fill a new issue. On API access from browser(iirc) go-ipfs disalows API access from a browser without Origin nor Referer headers (ipfs/go-ipfs-cmds#193) and in some cases requires hostname to be loopback device ( 👉 If you need webui, the rule of thumb is to set up port forwarding, so your browser talks to a port on On webui and node running in DockerAs for using webui with go-ipfs running in docker, the problem is in the bridge you've set up. You either need to expose API port on the host machine, or simply disable bridge networking and use host's interface. Try running with $ docker run --rm -it --net=host ipfs/go-ipfs:v0.6.0 |
I'm trying to setup my first test-node using Docker (Image: jbenet/go-ipfs:latest). ipfs seems to work. But the web-ui always tries to connect to 127.0.0.1. I've setup my docker to private network bride using 172.30.0.100.
I was able to fiddle around enough to make the webui connect to the correct IP. This results into the following console-trace (browser-console trying with google-chrome).
I don't understand why this happens as the IP (in first place) is correct now until it fails to fallback 127.0.0.1:5001 again.
I already looked over a bunch of issues and possible solutions, but none of them was working for me yet. Why can't there be any easy way to configure ipfs-api host in config?
The text was updated successfully, but these errors were encountered: