If you are able to play the game then the problem is not about the ports, could you please clarify do you experience connection drops (the game drops you in the main login menu) or crashes to desktop (that could be caused by, for example, GPU overheating).
Also, do you have an option to test the game on different sources of connection like mobile internet, or on different PC with the same connection?