You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run the IB Gateway in a docker container (headless). One issue I'm facing is that when the gateway starts up the "Allow connections from localhost only" is selected by default, so I can only connect to the gateway if connecting from localhost, not from another docker container. I can inject "TrustedIPs" in the jts.ini file with a list of ip addresses and the gateway adds this list, but the "Allow connections from localhost only" remains selected so I still can't connect to the gateway from any other container not on the gateway's localhost.
We've circumvented this issue by using socat to fork the localhost port onto an external port that can be reached from external containers, but this has a number of undesired side effects we'd like to eliminate.
Is there a way to deselect the "Allow connections from localhost only" using the jts.ini file so the gateway can receive connections directly from other docker containers?
The text was updated successfully, but these errors were encountered:
I'm trying to run the IB Gateway in a docker container (headless). One issue I'm facing is that when the gateway starts up the "Allow connections from localhost only" is selected by default, so I can only connect to the gateway if connecting from localhost, not from another docker container. I can inject "TrustedIPs" in the jts.ini file with a list of ip addresses and the gateway adds this list, but the "Allow connections from localhost only" remains selected so I still can't connect to the gateway from any other container not on the gateway's localhost.
We've circumvented this issue by using socat to fork the localhost port onto an external port that can be reached from external containers, but this has a number of undesired side effects we'd like to eliminate.
Is there a way to deselect the "Allow connections from localhost only" using the jts.ini file so the gateway can receive connections directly from other docker containers?
The text was updated successfully, but these errors were encountered: