At the very beginning of your post you write:
glbSocket = new ClientSocket("121.0.0.1", 6666);
but at the end you write:
sock.bind( ('127.0.0.1', 6666) )
Could it just be the different IP-Address?
At the very beginning of your post you write:
but at the end you write:
Could it just be the different IP-Address?
Sorry it is is 127.0.0.1
It is my mistake that I have mentioned that in my question. I am trying to edit it but getting edited. Please note that I have kept the IP and port same as that of my server, but nothing is happening.
I have tried the following code:
And the library I am using is the following:
But I could not connect with the socket port. I have created the port using the python code as:
But when I am trying to connect the socket through the MQL5, I get the message as : "Failed to connect"
Please let me know what I can do. help me anybody.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I have tried the following code:
And the library I am using is the following:
But I could not connect with the socket port. I have created the port using the python code as:
But when I am trying to connect the socket through the MQL5, I get the message as : "Failed to connect"
Please let me know what I can do. help me anybody.