Could you tell me how you can use ZeroMQ to send messages between two programs located on different servers using some common socket? It works with all local socket programs, but I donβt understand how they are distributed in different places. Because the error comes up:
Traceback (most recent call last):
File "/Users/*****/Projects/*****/workers/internal_links_parser.py", line 20, in <module>
socket.bind("tcp://***.***.***.***:5000")
File "socket.pyx", line 447, in zmq.core.socket.Socket.bind (zmq/core/socket.c:4312)
zmq.core.error.ZMQError: Can't assign requested address
Please explain, and if it is not difficult to give an example. thank!
source
share