[
https://issues.apache.org/jira/browse/ZOOKEEPER-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137289#comment-13137289
]
Daniel Gómez Ferro commented on ZOOKEEPER-1256:
-----------------------------------------------
I added a log printing the bind address with the scope: fe80:0:0:0:0:0:0:1%1
And this is the address NIOServerCnxnFactory tries to bind to:
/fe80:0:0:0:0:0:0:1%0:11221
If we remove the scope it tries to use a different one and it fails with
java.net.BindException: Can't assign requested address
> ClientPortBindTest is failing on Mac OS X
> -----------------------------------------
>
> Key: ZOOKEEPER-1256
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1256
> Project: ZooKeeper
> Issue Type: Bug
> Components: tests
> Environment: Mac OS X
> Reporter: Daniel Gómez Ferro
> Assignee: Daniel Gómez Ferro
> Fix For: 3.5.0
>
> Attachments: ClientPortBindTest.log, ZOOKEEPER-1256.patch,
> ZOOKEEPER-1256.patch
>
>
> ClientPortBindTest is failing consistently on Mac OS X.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira