开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

timeout when connecting to TWS Gateway, but existing connection still works


 

Hi,

I found this interesting phenomenon today when trying to connect with a second client to a running TWS Gateway, that I'm getting a timeout error. At the same time, the gateway has an active connection running by a client, that still is operational and works. Of course the new connection is using a different client id than the existing one.

In all cases the connection is made to 127.0.0.1, to the same port 4002. I can telnet to this port and it opens up, so the Gateway is listening on the port. But a new client can't connect and gets a timeout.

What could cause this issue?


?kos

Join [email protected] to automatically receive all group messages.