Modified port selection to use final int constant