You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/09/02 03:37:09 UTC

[GitHub] ralf0131 opened a new issue #2423: Multicast demo fails with message "Can't assign requested address"

ralf0131 opened a new issue #2423: Multicast demo fails with message "Can't assign requested address"
URL: https://github.com/apache/incubator-dubbo/issues/2423
 
 
   - [x] I have searched the [issues](https://github.com/apache/incubator-dubbo/issues) of this repository and believe that this is not a duplicate.
   - [x] I have checked the [FAQ](https://github.com/apache/incubator-dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: master branch
   * Operating System version: macOS 10.13.6
   * Java version: 1.8
   
   ### Step to reproduce this issue
   
   1. start the provider demo
   
   
   ### Expected Result
   
   Provider start success.
   
   ### Actual Result
   
   Provider start failed.
   
   If there is an exception, please attach the exception trace:
   
   ```
   Caused by: java.net.SocketException: Can't assign requested address
   	at java.net.PlainDatagramSocketImpl.join(Native Method)
   	at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:178)
   	at java.net.MulticastSocket.joinGroup(MulticastSocket.java:323)
   	at org.apache.dubbo.registry.multicast.MulticastRegistry.<init>(MulticastRegistry.java:91)
   	... 24 more
   ```
   
   If I add vm args `-Djava.net.preferIPv4Stack=true`, everything works fine.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org