How Configure A Multiple Pub/ Single Sub Python Zmq Ubuntu
I have two VMs (VirtualBOx, Ubuntu 18.04 and python-zmq[16.0.2-2build2]) running within the same physical machine (Win10). Both machines are configured as Bridge and they can be pi
Solution 1:
Q : Any way to solve this?
Avoid going against any API-documented property. While a .bind()
-method can for the tcp://
-transport-class try to indeed bind to any localhost
-side IP-addresses, the .connect()
-method, for obvious reasons can't.
As was notified in the ZMQError
:
socket.connect ("tcp://*:%s" % port)
zmq.error.ZMQError: Invalid argument
Correct the IP-address target, where shall the.connect( "tcp://{0:}:{1:}".format( IP, PORT ) )
-method try to "ring-so-as-to-get-connection".
Post a Comment for "How Configure A Multiple Pub/ Single Sub Python Zmq Ubuntu"