S2S send and receive port clarification

Hi All,

In an S2S configuration, I see that the port on the Openfire server is 5269.

To permit access through the network, then inbound traffic destined for that port must be permitted.

Question:

Is the inbound traffic also sourced on the same port 5259 or is it like a client accessing a Web server, where the source port is any non-reserved ports and the destination port is 80?

That is, does serverA send traffic from its 5269 port to serverB’s listening port 5259 and vice versa.

regards,

Martin.