Make the port selection for listener fully variable