-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Transmission docker port mapping does not show any traffic #2847
Comments
I changed config file added
Installed netcat and simply ran nc -l -p 9091 I was able to do I use tcpdump and somehow I got this when I connect from browser to the container:
I do see answers from transmission to the bridge network not to the hosts network which is 172.16.16.0/24. Ok to complete the experiment I stopped start.sh script and did ran
So I do see requests from 192.168.65.1 bridge network and responses back from 172.21.0.2 container IP |
See here #2723 |
I see this has worked for a couple of people but I'm not having such luck. I'm using dev containers to run my containers most of the time so i've added this to the JSON config:
And this environment variable appears when inspecting the container's config. Perhaps where i'm going wrong is using the wrong local IP address? I assumed it was the 'default' ip address of my host? |
Is there a pinned issue for this?
Is there an existing or similar issue/discussion for this?
Is there any comment in the documentation for this?
Is this related to a provider?
Are you using the latest release?
Have you tried using the dev branch latest?
Docker run config used
services:
transmission:
image: haugene/transmission-openvpn:5.3.1
cap_add:
- NET_ADMIN
dns:
- 8.8.8.8
logging:
driver: "json-file"
options:
max-size: "10m"
ports:
- 9092:9092
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
environment:
- CREATE_TUN_DEVICE=true
- OPENVPN_PROVIDER=NORDVPN
- NORDVPN_COUNTRY=US
- ENABLE_UFW=false
- DEBUG=true
- PEER_DNS=false
- TRANSMISSION_RPC_PORT=9092
- HEALTH_CHECK_HOST=github.com
- OPENVPN_USERNAME=
- OPENVPN_PASSWORD=
- TRANSMISSION_HOME=/data/transmission-home
- WEBPROXY_ENABLED=false
- LOCAL_NETWORK=172.16.16.0/24
- OVERRIDE_DNS_1=8.8.8.8
- OVERRIDE_DNS_2=8.8.4.4
volumes:
- /Volumes/data-tank/media/Transmission:/data:rw
deploy:
resources:
limits:
cpus: '1.0'
memory: 100M
Current Behavior
It worked. I did not change anything. It started docker would not have access from container to outside world. That got fixed when I updated to the latest docker (MacOS). But now, I still can't access from host computer the interface. From inside container I can ping outside like partially local network and .
I installed tracepath to better understand what is going on:
172.16.16.11 - hosts IP
Hosts ports not occupied by anything. And netstat shows listen only when image started. So, I'm out of options what to try. I have another image on the same host ownlcoud - and that one works well so this one should but it's not...
Expected Behavior
Would be able on hosts computer to access localhost:9092
How have you tried to solve the problem?
ping, netstat, tracepath changing ports from 9091 to 9092 use webproxy, nothing inside is accessible from outside(host's), no firewall enabled inside container, no firewall on the host system
Log output
Everything started, can do curl localhost:9091/9092 inside the container
HW/SW Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: