lucas-campagna / mt5linux

MetaTrader5 for linux users
MIT License
73 stars 40 forks source link

Connection refused #2

Closed mister-robot closed 1 year ago

mister-robot commented 2 years ago

Hello!, I'm trying to download the OHCL data from an OANDA account, I've already done the 4 steps, but I still getting this error:

ConnectionRefusedError: [Errno 111] Connection refused

Is this module operative? I tried with the default 18812 and 18821 ports and didn't modified the host. I'm working on a Linux Ubuntu 20.04, Python 3.8 with Wine 7.0

james-coder commented 1 year ago

Run a telnet test:

$ telnet localhost 18812

If this fails also, it is something with your setup. Possibly you aren't running python -m mt5linux python.exe to serve requests, or maybe things are firewalled for you somehow.