Download MetaTrader 5

Is it possible get trade server address via server name?

To add comments, please log in or register
Make screenshots in MetaTrader and manage them in the gallery!
Jinsong Zhang
15603
Jinsong Zhang 2014.03.17 16:18 

hi,

if i only know the server name like  MetaQuotes-Demo but i need to know its address like dc1.demo.mt5.alpari.co.uk or 193.46.204.110:443 , is it possible? Thanks

Rogerio Figurelli
Moderator
39637
Rogerio Figurelli 2014.03.17 19:18  
song_song:

hi,

if i only know the server name like  MetaQuotes-Demo but i need to know its address like dc1.demo.mt5.alpari.co.uk or 193.46.204.110:443 , is it possible? Thanks

Hi Jinsong, I think the only way is an external check of the network connection, for instance (using Windows prompt):

C:\Users\figurelli>tasklist | findstr terminal
terminal.exe                  5772 Console                    1     84.056 K

C:\Users\figurelli>netstat -nof | findstr "5772"
  TCP    192.168.25.8:58506     78.140.156.136:443     ESTABLISHED     5772

Use tasklist command to find the terminal task ID and after netstat command to find the address/port (78.140.156.136:443 in this case).

Hope this way can help you.

Jinsong Zhang
15603
Jinsong Zhang 2014.03.18 09:24  

Thank you, figurelli  :)

Rogerio Figurelli
Moderator
39637
Rogerio Figurelli 2014.03.18 11:02  
song_song:

Thank you, figurelli  :)

You are welcome!
To add comments, please log in or register