Step 1 — Open Windows Defender Firewall
Click Start Menu → Search → “Windows Defender Firewall.”
In the left sidebar, click “Allow an app through Windows Defender Firewall.”
Step 2 — Click “Allow another app...”
At the bottom-right corner, click “Allow another app....”
This allows you to modify or add new apps.
Step 3 — Add a New App
Click “Allow another app…” at the bottom of the window.
(This opens the Add an App dialog like the image you shared.)
Click Browse…
Step 4 — Allow MT5 Installation
Navigate to your MT5 installation directory, usually: C:\Program Files\MetaTrader 5\
Select the file terminal64.exe
Click Open → Add
C:\Program Files\MetaTrader 5\
Step 4 — Enable Both Network Types
Back on the main Firewall screen, find MetaTrader 5 (terminal64.exe) in the list.
Check both boxes:
✅ Private
✅ Public
Click OK to save changes.
Step 6 — Restart MT5 and Verify Connection
Open MetaTrader 5 again and check the status in the bottom-right corner:
🟢 Connected — MT5 is allowed through the firewall
🔴 No Connection — verify the firewall rule and try again
If you still experience issues, temporarily disable any third-party antivirus (Norton, McAfee, AVG, etc.) to ensure it’s not blocking MT5.
Tips
If you use a broker-branded MT5 build (e.g., “BrokerName MT5”), repeat these steps for that specific executable.
Avoid adding multiple copies of MT5 to the allowed list — keep only the active installation.
Keep Windows Firewall enabled for security; just ensure MT5 is whitelisted.






