Return the correctly bound port.