{"action":"created","issue":{"url":"https://api.github.com/repos/haugene/docker-transmission-openvpn/issues/38","labels_url":"https://api.github.com/repos/haugene/docker-transmission-openvpn/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/haugene/docker-transmission-openvpn/issues/38/comments","events_url":"https://api.github.com/repos/haugene/docker-transmission-openvpn/issues/38/events","html_url":"https://github.com/haugene/docker-transmission-openvpn/issues/38","id":115898013,"number":38,"title":"Can't access transmission web interface","user":{"login":"MartinAyla","id":3063746,"avatar_url":"https://avatars.githubusercontent.com/u/3063746?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinAyla","html_url":"https://github.com/MartinAyla","followers_url":"https://api.github.com/users/MartinAyla/followers","following_url":"https://api.github.com/users/MartinAyla/following{/other_user}","gists_url":"https://api.github.com/users/MartinAyla/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinAyla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinAyla/subscriptions","organizations_url":"https://api.github.com/users/MartinAyla/orgs","repos_url":"https://api.github.com/users/MartinAyla/repos","events_url":"https://api.github.com/users/MartinAyla/events{/privacy}","received_events_url":"https://api.github.com/users/MartinAyla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-09T15:18:35Z","updated_at":"2015-11-09T21:31:28Z","closed_at":null,"body":"Hi\r\n\r\nI really hope you can help, I just spend half a day trying to get this to work, but I can't.\r\n\r\ntransmission-openvpn seems to work fine and this is the last output from docker log:\r\n```\r\nGot new port 57505 from pia\r\ntransmission auth not required\r\nlocalhost:9091/transmission/rpc/ responded: \"success\"\r\nChecking port...\r\nPort is open: Yes\r\n```\r\n\r\nIf I check the container IP with:\r\n```\r\ndocker exec -it 399 /sbin/ifconfig\r\n```\r\nI get eth0: 172.17.0.2\r\n\r\nThen I run the nginx container with -p 8888:8888 and in the nginx.conf I have:\r\n```\r\nproxy_pass http://172.17.0.2:9091\r\n```\r\n\r\nBut I can't acces the web interface no matter what I try. I try to access it with:\r\n```\r\nhttp://172.17.0.2:8888/transmission/web/\r\n```\r\n\r\nAny ideas?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/haugene/docker-transmission-openvpn/issues/comments/155203314","html_url":"https://github.com/haugene/docker-transmission-openvpn/issues/38#issuecomment-155203314","issue_url":"https://api.github.com/repos/haugene/docker-transmission-openvpn/issues/38","id":155203314,"user":{"login":"haugene","id":1038094,"avatar_url":"https://avatars.githubusercontent.com/u/1038094?v=3","gravatar_id":"","url":"https://api.github.com/users/haugene","html_url":"https://github.com/haugene","followers_url":"https://api.github.com/users/haugene/followers","following_url":"https://api.github.com/users/haugene/following{/other_user}","gists_url":"https://api.github.com/users/haugene/gists{/gist_id}","starred_url":"https://api.github.com/users/haugene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haugene/subscriptions","organizations_url":"https://api.github.com/users/haugene/orgs","repos_url":"https://api.github.com/users/haugene/repos","events_url":"https://api.github.com/users/haugene/events{/privacy}","received_events_url":"https://api.github.com/users/haugene/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T21:31:28Z","updated_at":"2015-11-09T21:31:28Z","body":"Hmm. So you've started the transmission-openvpn container with -p 9091:9091 right? Then transmission will be available on your hosts port 9091 as well as the container ip:9091. This is done so that you can leave the nginx-config untouched even if you remove and create a new transmission-openvpn container (updates etc).\r\n\r\nSo your nginx.conf should point to your hosts IP:9091, eg 192.168.x.x:9091, then this will proxy the traffic from the docker IP space to your host networks IPs.\r\n\r\nYou say you're running the nginx with -p 8888:8888, then I assume you've also changed the example config to listen to port 8888? That is the \"listen 8080;\" statement for the server?\r\n\r\nIf you haven't, you could either do that or you could start it with -p 8888:8080, that will map your host:8888 to the container:8080 address. And once again you should be able to reach the nginx-server on your host-ip:8888, ie 192.168.x.x:8888.\r\n\r\nThere are many ways of doing this. The one I've described in the README binds container processes to your host ports and you should not need to know the IPs of the containers.\r\n\r\nI hope this helps, and if you're still struggeling please post the full run command you use to start both containers (excluding usr/pass etc of course), and the full content from your nginx.conf\r\n"}}