I noticed that there is a newer version of IB Gateway (978.2d). I installed that version and now I can connect from Zorro S using IB Gateway.