I have figured out how to obtain an available the port number that ZeroMQ can use