-
I have When I run via docker compose, I can confirm in my docker logs that I see:
and in RealVNC Viewer on 5900, startup seems healthy. I am trying to connect via port 4001 from the same network "trader" (per "leaving localhost"), so I don't think this should be an issue. Any thoughts what might be causing the connectivity issue? docker-compose.yml
python script:
from RealVNC Viewer, confirming the runtime:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
this is covered here https://github.com/gnzsnz/ib-gateway-docker?tab=readme-ov-file#ports it's tricky but it's how ibgateway/docker works. for the docker-compose file that put here your python script needs to connect to 4003/4004, IF you publish the port to the outside (which is not secure) then you can map it to 4001/4002, but that's up to you. if this solves your issue please mark it as answered |
Beta Was this translation helpful? Give feedback.
-
This works thank you! |
Beta Was this translation helpful? Give feedback.
this is covered here https://github.com/gnzsnz/ib-gateway-docker?tab=readme-ov-file#ports
it's tricky but it's how ibgateway/docker works. for the docker-compose file that put here your python script needs to connect to 4003/4004, IF you publish the port to the outside (which is not secure) then you can map it to 4001/4002, but that's up to you.
if this solves your issue please mark it as answered