Some routers would block low number socket port

When worked behind such a router, the tcp three-way handshake will
fail due to the last ack message destined port 1024 blocked by router.

So, when the board initiated a connection with a public server, using
a bigger port number.