How can I preset a different port number in place of OFP's default of 2234?

Use a text editor to edit the following file:

OperationFlashpoint\User\your_player_name\UserInfo.cfg

Change your_player_name in the above file name example to the actual player folder name in use. In the file, find the "remotePort" statement and modify it accordingly.