zeromq / libzmq

ZeroMQ core engine in C++, implements ZMTP/3.1
https://www.zeromq.org
Mozilla Public License 2.0
9.71k stars 2.36k forks source link

RROR: Unable to bind ZMQ to address tcp://127.0.0.1:5555 #4014

Open MaoPann opened 4 years ago

MaoPann commented 4 years ago

if(zmq_bind(zmq_responder, zmq_server_address) != 0) { traceEvent(TRACE_ERROR, "Unable to bind ZMQ to address %s", zmq_server_address); term_zmq(); return -1; }

response: RROR: Unable to bind ZMQ to address tcp://127.0.0.1:5555

sigiesec commented 4 years ago

From this code fragment, it's hard to tell what's going wrong. Can you give us a more complete example, including how the context and socket are created? Which error code is being reported here? (zmq_errno()?)

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had activity for 365 days. It will be closed if no further activity occurs within 56 days. Thank you for your contributions.

Pixelz22 commented 1 month ago

Can someone please give an answer here? I'm having similar problems, and it would be nice to know if it has already been solved.