TROUBLESHOOTING · VPS
MT5 disconnected on the VPS
SYMPTOM
The VPS is running but MetaTrader shows "No connection" or the bot stopped overnight.
Causes, most likely first
1. Windows Update restarted the machine
The most common cause by a distance. Windows restarts, MetaTrader does not relaunch, and trading stops silently. Configure MetaTrader to start with Windows, set active hours to prevent automatic restarts, and confirm the terminal actually reopens by rebooting deliberately once and checking.
2. The RDP session was closed rather than disconnected
Logging off ends the session and can terminate programs; disconnecting leaves them running. Close the remote desktop window rather than signing out, and verify the terminal is still running when you reconnect.
3. The terminal lost its login
A password change, an expired demo account or a broker server migration all drop the connection. The Journal records the authorisation failure with a reason. Reconnect via File → Login to Trade Account.
4. The VPS ran out of memory
Several terminals, or one terminal with many charts and indicators, can exhaust a small VPS. Symptoms are sluggish behaviour before the disconnect rather than a clean stop. One terminal generally needs about 2GB of RAM; more terminals need proportionally more.
Why this happens
A VPS solves the laptop problem — a machine that sleeps, closes or loses wifi — but it introduces its own, and the update restart is the one that catches nearly everyone at least once.
The check that matters is whether trading actually resumes after a reboot. Reboot the VPS deliberately, then confirm MetaTrader relaunched, logged in and the EA reattached with a smiling face. Assuming it will is how a week of downtime goes unnoticed.
Monitoring is worth more than prevention here, because some downtime is unavoidable. Knowing within minutes that the terminal is down is the difference between a small gap and a missed month.
Related problems
- No smiley face on the MT5 chartThe chart shows a sad face, an X, or no face at all in the top-right corner.…
- AutoTrading is disabled in MT5The Algo Trading button is red, or the Journal logs "Autotrading disabled by client".…
- MT5 server time does not match my local timeThe chart clock does not match your clock, and session filters trigger at unexpected hours.…
Educational information only, not financial advice. Trading leveraged products carries substantial risk of loss. Last updated 2026-08-11.