Check your HOSTS file.
"people complaining about being unable to open mql5 website" is usually regarding accessing the site from inside of mt5 itself. This is usually when their ip address has been blocked by the site. They get broker price data, but are not able to load the site inside of mt5.
Also search this site for your vps providers name. There are some vps providers that are actively blocked due to suspicious activies happening by the providers in past.
But there is also some vps providres that change or give you dynamic ip addresses. You may be given a ip address, but the providers can change the ip address once you are logged into the vps. You may need to add a static ip address to your service when you first pay, or contact the provider to instruct them that you require a static ip address. If the ip address is dynamic, then, it could be an oldd address that may be used by thousands of mt5 users in past, but connects to different parts of the world, which may be considered as suspicious by mq. So, check with your provider that your ip address is static, so it is less likely to be one of these.
and kudos to your op comment. we rarely see such detailed op comment by new users.
Thanks, I doubled check the HOSTS file, looks like it's alright (screenshot attached).
Concerning searching for my VPS Provider name on that site not sure if done correctly but looks like it does not find my provider. I tried both the brand and the legal entity name.
Check your HOSTS file.
"people complaining about being unable to open mql5 website" is usually regarding accessing the site from inside of mt5 itself. This is usually when their ip address has been blocked by the site. They get broker price data, but are not able to load the site inside of mt5.
Also search this site for your vps providers name. There are some vps providers that are actively blocked due to suspicious activies happening by the providers in past.
But there is also some vps providres that change or give you dynamic ip addresses. You may be given a ip address, but the providers can change the ip address once you are logged into the vps. You may need to add a static ip address to your service when you first pay, or contact the provider to instruct them that you require a static ip address. If the ip address is dynamic, then, it could be an oldd address that may be used by thousands of mt5 users in past, but connects to different parts of the world, which may be considered as suspicious by mq. So, check with your provider that your ip address is static, so it is less likely to be one of these.
and kudos to your op comment. we rarely see such detailed op comment by new users.
Thanks, I doubled check the HOSTS file, looks like it's alright (screenshot attached).
Concerning searching for my VPS Provider name on that site not sure if done correctly but looks like it does not find my provider. I tried both the brand and the legal entity name.
where did you find the installer of mt5? The installer from this site is always beta version and known to, often have issues. Only install from installers that are downloaded from brokers. They can also have issues, however much less often.
The hosts file looks fine, as already confirmed. Since port 443 works but broker-specific ports don't, this points to possible port filtering or an IP-range block.
I'd suggest asking your VPS provider for a clean static IP and testing again.
You can also run tracert broker.domain.com and Test-NetConnection broker.domain.com -Port XXXX in PowerShell to see at which hop the connection drops.
If it fails before leaving the VPS, it's likely a provider-side block. Also, if you haven't already, install MT5 from your broker's official site rather than the MetaQuotes beta build.
Hey Ryan, unfortunately I do not have advanced IT skills and when it comes to any configurations I try to do them with GPT, therefore not sure what software does acme.com provide.
Concerning the FreeBSD firewall, as to what I asked GPT to check via running commands in Powershell I received negative.
His conclusion:
" Bottom line
-
You are not running FreeBSD’s pf or ipfw .
-
There are no local Windows firewall block rules causing your MT5 issue.
-
This remains consistent with broker/Cloudflare rejecting your datacenter IP on trading ports (since tracert reaches them but TCP on 1950 fails, while the same ports succeed to portquiz.net )."
Could it be your software from acme.com?
Specifically, are you running the FreeBSD firewall?
I tried with MT5 given by each broker separately, still didn't solve the problem.
where did you find the installer of mt5? The installer from this site is always beta version and known to, often have issues. Only install from installers that are downloaded from brokers. They can also have issues, however much less often.
This remains consistent with broker/Cloudflare rejecting your datacenter IP on trading ports (since tracert reaches them but TCP on 1950 fails, while the same ports succeed to portquiz.net )."
At this point, I can only guess that you might have an international issue.
Are your broker-dealer and VPS both within the E.U.?
Hey Miguel, thanks for pointing this out.
I ran both tracert and Test-NetConnection as you suggested.
-
tracert mt5.roboforex.com completed fine, showing the route ending at the broker’s server.
-
But Test-NetConnection mt5.roboforex.com -Port 1950 failed with TcpTestSucceeded: False.
So it seems the route is reachable, but the actual trading port is blocked or not responding.
Concerning MT5, I installed the Broker's one.
You can also run tracert broker.domain.com and Test-NetConnection broker.domain.com -Port XXXX in PowerShell to see at which hop the connection drops.
If it fails before leaving the VPS, it's likely a provider-side block. Also, if you haven't already, install MT5 from your broker's official site rather than the MetaQuotes beta build.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
1. Introduction — The problem I’m facing
I am encountering a consistent issue when attempting to use MetaTrader 5 (MT5) on my VPS. Regardless of which broker I select, the platform shows a “No Connection” status immediately after trying to log in. This happens for both real and demo accounts. The problem is not broker-specific: even the default MetaQuotes-Demo account, which I can easily access on my local PC, fails to connect when I use it on the VPS. My goal is to understand why MT5 is unable to establish a connection from the VPS environment, while the same accounts work perfectly on my local machine.2. What I’ve already tried (no luck so far)
I have already gone through several troubleshooting steps, but none have resolved the problem:
Verified that the VPS has working internet access and that other applications can connect without issues.
Attempted to connect to multiple broker servers (RoboForex, FusionMarkets, etc.) and MetaQuotes-Demo — all result in the same connection failure.
Confirmed that the same accounts connect instantly on my personal computer, ruling out account credentials as the problem.
Used Test-NetConnection in Windows PowerShell to verify port accessibility. General ports like 443 work fine, but the specific broker ports (e.g., 1950 for RoboForex) fail to connect, while other random ports respond correctly.
Disabled antivirus and security tools temporarily to eliminate the possibility of them blocking MT5. No change.
Checked and adjusted firewall rules to ensure MT5 has full outbound internet permissions.
Restarted MT5, reinstalled the platform in both normal and portable modes, and tested from multiple installation directories.
Tried connecting during different times of the day in case of temporary broker or network issues.
Despite these efforts, the behavior remains unchanged — every attempt to log in to any broker or MetaQuotes-Demo results in either “No Connection” OR " Connection Lost" on the VPS.
3. What I’m still trying to understand
Is it possible that certain brokers or MetaQuotes servers actively reject connections from datacenter IP ranges, and if so, is there a workaround?
Could there be hidden Windows networking policies or configurations on the VPS that prevent MT5 from making outbound connections to trading ports?
Is there any additional diagnostic tool I could use from the VPS to confirm whether the connection is being dropped locally or blocked remotely
Attaching a screenshot of my MT5 Journal.
P.S I have read a lot of people complaining about being unable to open mql5 website but it works perfectly fine on my browser's VPS so it has nothing to do about it.
Any help or advice would be hugely appreciated — this is blocking me completely at the moment.