# Click on '''Configure''' in main TWS window.
# Click on '''API''' section. Select '''Settings'''.
# Check '''Enable Active X and Socket Clients''' box.
<div style="background-color: #E3FBE5;">Note: By default in IB Gateway '''Socket port''' number is '''4001'''. In IB Broker Profile in MultiCharts default Port (Socket port) number is '''7496'''.</div>