With regards to the problem Bart is having in NAT router blocking JMS messages I am trying to find the port number that clients receive openJMS messages on. After searching for ages on the web I can only find information about the server ports, nothing on the client. This is for a tcp connection.
If anyone can point me in the right direction I would be very grateful.
Thanks!
In general, the client port number will be different for each new connection. I could find no evidence that OpenJMS clients use specific port numbers when communicating with servers. Here are a few explanations.
Port Numbers
TCP/IP Client (Ephemeral) Ports and Client/Server Application Port Use
Similar answer on another question: How to decide on port number between client and server communication on internet:
Other possible help: