I'm trying to use the the MetaTester 5 Agents Manager on a server for local use, however, I have several local and virtual network adapters on this server, including two VPNs.
The Agents Manager is binding the agents to the IP address of one of the VPNs instead of binding it to the actual local network where I wish to use it, and naturally I'm unable to connect to the agents from my local network.
The program doesn't seem to offer me means to select what network I want it to open the ports to. Any idea how to workaround this problem?
Yes they are, but nevermind I just figured out myself how to do it, I'll leave it here in case someone else needs it.
Open Agents Manager, Stop and Uninstall all agents.
Open command prompt and go to the MetaTester 5 Agents Manager installation folder (cd "C:\Program Files\MetaTrader 5 Strategy Tester")
Run the commands:
MetaTester64.exe /install /password:MetaTester /start /address:192.168.0.1:2000MetaTester64.exe /install /password:MetaTester /start /address:192.168.0.1:2001MetaTester64.exe /install /password:MetaTester /start /address:192.168.0.1:2002 ...
One for each CPU Thread you have (or as many as you want to use), while specifying the correct network IP address you want them to bind to or binding to IP 0.0.0.0 to have them work on all networks interfaces.
Once they are installed with the correct IP address they will bind to the same address again even if restarted.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.