Search code examples
c#amqpnetmq

NetMQ reuse same socket


Is it somehow possible to start for example 2 publishers on the same port or for example a publisher and subscriber simultaneously (both with the >tcp:// prefix)?


Solution

  • You wont be able to run 2 services on the same port at the same time. They would have to be on different ports if they run together. The port number just tells the computer which service on the computer the packets are meant for.