Skip to content

Connection reset by peer #140

Closed Answered by gnzsnz
craigp318 asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by craigp318
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants