You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ahmed Hussein (Jira)" <ji...@apache.org> on 2020/12/03 17:22:00 UTC
[jira] [Commented] (HADOOP-13571) ServerSocketUtil.getPort() should
use loopback address, not 0.0.0.0
[ https://issues.apache.org/jira/browse/HADOOP-13571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17243379#comment-17243379 ]
Ahmed Hussein commented on HADOOP-13571:
----------------------------------------
[~ebadger], thanks for the patch.
Can you please check if this Jira is still applicable to 3.x?
> 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
> Priority: Major
> Attachments: HADOOP-13571.001.patch
>
>
> 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org