You can only define the client and server ports in Halo's settings. However, you can tell the dedicated server what IP to use via a command line option.
This only works for when the server has multiple network interfaces and is for choosing which one of them to host on.