I have a Minecraft server running on a server. It runs on port 25565 and I can connect to it at home.
At school, however (it's a boarding school), due to the port blocking, I can't connect to the server (or any other), this is because only traffic from certain ports can get outside the network. Having talked to the head of IT, he's happy to open a port so that I can connect (we have a very accommodating head of IT) however, after some looking around, I discovered that Minecraft uses a seemingly random port over 50000 to connect to a server.
I was wondering how I could force Minecraft to use one port to connect to the server?
Then I can pass it on to the head of IT, so he can unblock it.