TroubleshootingUpdated 27 November 20267 min read

What Invalid account, No connection, Common error and Old version mean in MT4 and MT5 on a fresh VPS, and the fix for each: server name, password, archive.

In short
  • Invalid account: the broker's server answered and refused the login. Check the account number, the trading password, the exact server name, and that an MT4 account is not being opened in MT5.
  • No connection: no trade server was reached. Check the login details first, then whether the broker's server is in the terminal's list; add it by the broker's name, or install the broker's own MetaTrader.
  • An account that worked before can be refused because the demo expired or the broker archived an inactive live account; the broker's help centre says how to get a new one or restore it.
  • Old version: the broker wants a newer terminal build. Help, then About shows yours; update or reinstall from the broker.
  • A different VPS or a bigger plan does not fix Invalid account or Old version: they come from the broker's server.

On a new VPS, "Invalid account" in the bottom-right corner of MT4 means the broker's server answered and refused the login: a wrong account number, password or server name, an MT4 account opened in MT5, or an account the broker has expired or archived. "No connection" means the terminal reached no trade server: wrong login details, a server that is missing from the terminal's list or misspelled, or no network. "Old version" means the broker wants a newer build. Each has its own fix, and a bigger VPS solves none of them. The fixes below apply to MT5 as well.

The connection status in the corner of MetaTrader: Invalid account, No connection, Old version, or figures when logged in
Four of the things the corner can show, and what each one means.

What the connection status says

The status sits in the bottom-right corner of the terminal. When the login works, the corner shows figures (the data received) instead of a message.

StatusWhat it meansWhat to check first on a new VPSGo to
Invalid accountThe server answered and rejected the loginServer name or password typed differently from the PC; MT4 account in MT5; expired demoFixes 1 to 4
No connectionNo trade server was reachedThe login details, then whether the broker's server is in this terminal's list and spelled exactlyFixes 1, 2 and 5
Common errorNot logged in correctly, like the two aboveLog in again from the File menuFixes 1 and 2
Old versionThe broker requires a newer terminal buildThe build number under Help, then AboutFix 6
Figures, connectedLogged inIf the EA still does not trade, the cause is elsewhereEA not trading on a VPS

Brokers' help centres describe the two main messages the same way: Libertex ties Invalid account to a wrong account number, password or server, or an expired demo, and No connection to the internet connection or the server. Admirals adds that No connection most often comes from wrong login details.

Fix 1: use the exact server name, and add it if it is missing

  1. Find the server name in your broker's client portal or in the email that came with the account. It is a name such as Broker-Live3 or Broker-Demo, not the broker's website address.
  2. Open the login window: File menu, then "Login to Trade Account". If the server is in the drop-down list, pick it; do not rely on what the field remembers from before.
  3. If the server is not in the list, add it:
    • MT4: open File, then Open an Account. In the server list, press "add new server" or the Insert key, type an accurate name of the brokerage company (or the server address and port) and press Enter, as the MetaTrader 4 help describes; "Scan" refreshes the ping of the servers listed. Select your server, go on to the next step, choose "Existing trade account", fill in Login and Password, and press "Done" to log in on that server.
    • MT5: open File, then Open an Account, type the company name and click "Find your broker", select it, then choose to connect to an existing trading account and enter the account number, password and server.
  4. If the broker is still not found, install the MetaTrader your broker distributes on its own website instead of a generic copy, and log in there. The same search is also covered in check broker ping in MT4 and MT5.

Live and demo servers of one broker can differ by a single word or digit, and a live account does not log in on the demo server.

Fix 2: the account number and the password

  • Login is the account number: the MetaTrader 5 help defines it as the number of the account, not the email or user name of the broker's website.
  • Master or investor password. The master password gives full access. The investor password logs in too, but the account is read-only: the MetaTrader 5 help says it lets you view the account and work with your own Expert Advisors, but not trade. An EA that has to trade needs the master password.
  • Type the password by hand if pasting fails: passwords are case-sensitive, and a pasted space at the end is enough to be refused.
  • A password changed somewhere else. If you reset the trading password on the broker's portal, every terminal that saved the old one now gets Invalid account. MT5 can also ask you to change the master password right after login; the new one then has to be used on every other machine, and the change invalidates the investor password.
  • Use the password of the trading account, not the one of the broker's website login, if your broker keeps them separate.

Fix 3: an MT4 account in MT5, or the other way round

An MT4 account logs in only through MT4, and an MT5 account only through MT5, as Axi's help centre states. On a new VPS it is easy to install the wrong one. Check which platform the account was opened for in the broker's portal, and install that terminal.

Fix 4: an expired demo or an archived account

An account that worked before can be refused for reasons on the broker's side:

  • Demo accounts expire. The limits are the broker's own. Axi, for example, says its demo accounts are valid for 30 days from creation and cannot be reactivated; Libertex also points to an expired demo for Invalid account. Open a new demo and log in with its number.
  • Inactive live accounts get archived. FBS, for example, says real MT4 accounts are archived automatically after 90 days of inactivity and can be restored from its Trader Area. Other brokers use different rules and procedures: search your broker's help centre for "archived account".

Fix 5: No connection although the details are right

  1. Click the status in the corner and choose "Rescan servers", as the RoboMarkets FAQ describes. The list of access points that appears also shows their ping; check broker ping in MT4 and MT5 explains how to read it.
  2. Open a website in a browser on the VPS. If it does not load, the VPS has no network and the terminal cannot connect either.
  3. If you installed antivirus or firewall software on the VPS, allow the terminal through it.
  4. In the terminal's options, on the Server tab, check that no proxy is set unless you need one: the MT4 help describes the proxy as an intermediate between your computer and the trade server.
  5. If the broker has announced server maintenance, No connection until it ends is expected. If the problem is drops rather than a first login, go to MT4 keeps disconnecting on a VPS.

Fix 6: Old version

The broker requires a newer build than the one installed. Open Help, then About, to see your build number. Axi says an older build has to be updated before you can trade again, and to download the latest version from the broker. The Help menu's "Check for updates" is the other route Admirals gives. It can happen when the terminal on the VPS was copied from an old folder or installed from an old installer: moving MT4 and an EA from your PC to a VPS covers what to copy and what to reinstall.

When the VPS is not the cause

Try the same account number, password and server in MetaTrader on your own PC, with automated trading switched off so nothing trades twice. If it fails there too, the problem is the account or the broker, and a different VPS, location or plan will not change it. Contact the broker with the exact status text and the time. Invalid account and Old version are answers from the broker's server; only the broker can say why it refuses the account.

How this works on Dipgate

  • Trading VPS (Windows): you install your broker's platforms yourself. For several terminals of the same broker, choose a different install folder for each, as the knowledge base explains (also in multiple MT4 terminals with the same broker), then move each shortcut into the "My Platforms Autostart" folder.
  • Metatrader VPS (Linux): MetaTrader comes preinstalled, and you can install your broker's own MT4 or MT5; the Dipgate tutorial below shows it.
  • Metatrader In Cloud: one MetaTrader 4 or 5 is preinstalled, chosen when you order, and you log in with the account number, password and server. Fix 3 applies: an MT5 account needs the MetaTrader 5 choice. If you ordered the other one, or your broker's server is not in its list, ask support before changing anything.

The tutorial was recorded on Metatrader VPS (Linux):

How to Install Your Broker's MetaTrader 4/5 on a Dipgate Linux VPS
Video: How to Install Your Broker's MetaTrader 4/5 on a Dipgate Linux VPS

FAQ

The same login works on my PC but says Invalid account on the VPS. Why?

Compare the server name character by character: live and demo servers of a broker can differ only by a word or a number. Then retype the password by hand. If MetaTrader 5 asked you to change the master password on one machine, the old password no longer works on the other.

Can I log in on the VPS with the investor password?

You can log in, but the account is read-only: the MetaTrader 5 help says the investor password lets you view the account and work with your own Expert Advisors, but not trade. An EA that has to trade needs the master password.

Why is my broker's server missing from the list on the VPS?

A terminal downloaded from somewhere other than your broker may not list its servers. Add the server by typing the broker's name in the account dialog, or install the MetaTrader your broker distributes.

My demo account worked last month and now says Invalid account.

It has probably expired. Brokers set their own limits: Axi, for example, says its demo accounts are valid for 30 days and cannot be reactivated. Open a new demo and log in with the new number.

Will moving the VPS to another city fix No connection?

Only when the cause is the network route between the VPS and the broker. A missing or misspelled server, a refused login or an old build stay the same from every city.