Docs / Set up
Open the ports
Open TCP ports 8500 to 8503 on your MT5 server for data, the price stream, the trade lane and the chart lane, and allow them only from our addresses.
The XeTerminal gateway reaches the plugin on four TCP ports. Allow them on the MT5 server's firewall, and on any cloud firewall in front of it.
The ports
| Port | Name | Used for |
|---|---|---|
| 8500 | Data | Account, positions, history, symbols |
| 8501 | Stream | Live prices and account events |
| 8502 | Trade lane | Orders and closes, kept apart from reads |
| 8503 | Chart lane | Chart history |
If you set different ports in the plugin, open those instead, and enter them in the console under Different ports? when you connect your server.
Allow only our addresses
Open the ports only to XeTerminal, not to the whole internet. The setup page lists the exact addresses to allow, each with a copy button. If it does not show them yet, we give them to you; until then, the connection test checks the ports from our side.
Why trades have their own port
Orders and closes travel on the trade lane, kept apart from the reads on the data port and the chart history on the chart lane. Loading charts and account data does not share a lane with orders.
Next: Connect and test.
Something unclear or out of date? Email support@xeterminal.com.