Port selection explained.