Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4D60D200B82 for ; Thu, 1 Sep 2016 15:49:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4C563160AAE; Thu, 1 Sep 2016 13:49:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B7F01160ACA for ; Thu, 1 Sep 2016 15:49:22 +0200 (CEST) Received: (qmail 29818 invoked by uid 500); 1 Sep 2016 13:49:21 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 29534 invoked by uid 99); 1 Sep 2016 13:49:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2016 13:49:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1F1712C014C for ; Thu, 1 Sep 2016 13:49:21 +0000 (UTC) Date: Thu, 1 Sep 2016 13:49:21 +0000 (UTC) From: "Eric Badger (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (HADOOP-13571) ServerSocketUtil.getPort() should use loopback address, not 0.0.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 01 Sep 2016 13:49:23 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Badger reassigned HADOOP-13571: ------------------------------------ Assignee: Eric Badger > ServerSocketUtil.getPort() should use loopback address, not 0.0.0.0 > ------------------------------------------------------------------- > > Key: HADOOP-13571 > URL: https://issues.apache.org/jira/browse/HADOOP-13571 > Project: Hadoop Common > Issue Type: Bug > Reporter: Eric Badger > Assignee: Eric Badger > > Using 0.0.0.0 to check for a free port will succeed even if there's something bound to that same port on the loopback interface. Since this function is used primarily in testing, it should be checking the loopback interface for free ports. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org