Check the socket port: As far as I remember, the full-blown TWS is using 4002 by default while the API Gateway is using 7496 (or vice versa). Both can be changed, of course. I believe you have a mismatch between Zorro and the API settings.