Hello there!
Before you post any issue, please check:
- Check if your internet is working properly.
- Check if socket in MT5 was successfully created by mt5R (MT5). Check for
Server socket created in "Experts" tab in MT5. If you are not getting the message mentioned, close and reopen MT5.

MT5.Ping() is returing TRUE.
MT5.CheckVersion() is returing TRUE.
Still having problems? Don't be shy! Post it!