<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.0</li>
<li>Operating System version: Linux</li>
<li>Java version: Java 11</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">Travis CI failed with the following log<br>
<a href="https://api.travis-ci.org/v3/job/485054109/log.txt" rel="nofollow">https://api.travis-ci.org/v3/job/485054109/log.txt</a></p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">CI pass.</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">CI Failure.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[�[1;34mINFO�[m] Running org.apache.dubbo.registry.redis.�[1mRedisRegistryTest�[m
log4j:WARN No appenders could be found for logger (org.apache.dubbo.common.logger.LoggerFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[�[1;31mERROR�[m] �[1;31mTests �[0;1mrun: �[0;1m5�[m, Failures: 0, �[1;31mErrors: �[0;1;31m1�[m, Skipped: 0, Time elapsed: 1.202 s�[1;31m &lt;&lt;&lt; FAILURE!�[m - in org.apache.dubbo.registry.redis.�[1mRedisRegistryTest�[m
[�[1;31mERROR�[m] testAnyHost  Time elapsed: 0.201 s  &lt;&lt;&lt; ERROR!
redis.embedded.exceptions.EmbeddedRedisException: Failed to start Redis instance
	at org.apache.dubbo.registry.redis.RedisRegistryTest.setUp(RedisRegistryTest.java:50)
Caused by: java.io.IOException: Cannot run program &quot;/tmp/1548641223184-0/redis-server-2.8.19&quot; (in directory &quot;/tmp/1548641223184-0&quot;): error=26, Text file busy
	at org.apache.dubbo.registry.redis.RedisRegistryTest.setUp(RedisRegistryTest.java:50)
Caused by: java.io.IOException: error=26, Text file busy
	at org.apache.dubbo.registry.redis.RedisRegistryTest.setUp(RedisRegistryTest.java:50)

[�[1;34mINFO�[m] 
[�[1;34mINFO�[m] Results:
[�[1;34mINFO�[m] 
[�[1;31mERROR�[m] �[1;31mErrors: �[m
[�[1;31mERROR�[m] �[1;31m  RedisRegistryTest.setUp:50 Â» EmbeddedRedis Failed to start Redis instance�[m
[�[1;34mINFO�[m] 
[�[1;31mERROR�[m] �[1;31mTests run: 5, Failures: 0, Errors: 1, Skipped: 0�[m"><pre class="notranslate"><code class="notranslate">[�[1;34mINFO�[m] Running org.apache.dubbo.registry.redis.�[1mRedisRegistryTest�[m
log4j:WARN No appenders could be found for logger (org.apache.dubbo.common.logger.LoggerFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[�[1;31mERROR�[m] �[1;31mTests �[0;1mrun: �[0;1m5�[m, Failures: 0, �[1;31mErrors: �[0;1;31m1�[m, Skipped: 0, Time elapsed: 1.202 s�[1;31m &lt;&lt;&lt; FAILURE!�[m - in org.apache.dubbo.registry.redis.�[1mRedisRegistryTest�[m
[�[1;31mERROR�[m] testAnyHost  Time elapsed: 0.201 s  &lt;&lt;&lt; ERROR!
redis.embedded.exceptions.EmbeddedRedisException: Failed to start Redis instance
	at org.apache.dubbo.registry.redis.RedisRegistryTest.setUp(RedisRegistryTest.java:50)
Caused by: java.io.IOException: Cannot run program "/tmp/1548641223184-0/redis-server-2.8.19" (in directory "/tmp/1548641223184-0"): error=26, Text file busy
	at org.apache.dubbo.registry.redis.RedisRegistryTest.setUp(RedisRegistryTest.java:50)
Caused by: java.io.IOException: error=26, Text file busy
	at org.apache.dubbo.registry.redis.RedisRegistryTest.setUp(RedisRegistryTest.java:50)

[�[1;34mINFO�[m] 
[�[1;34mINFO�[m] Results:
[�[1;34mINFO�[m] 
[�[1;31mERROR�[m] �[1;31mErrors: �[m
[�[1;31mERROR�[m] �[1;31m  RedisRegistryTest.setUp:50 Â» EmbeddedRedis Failed to start Redis instance�[m
[�[1;34mINFO�[m] 
[�[1;31mERROR�[m] �[1;31mTests run: 5, Failures: 0, Errors: 1, Skipped: 0�[m
</code></pre></div>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: master branch</li>
<li>Operating System version: macOS 10.13.6</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Step to reproduce this issue</h3>
<ol dir="auto">
<li>start the provider demo</li>
</ol>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">Provider start success.</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">Provider start failed.</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="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.&lt;init&gt;(MulticastRegistry.java:91)
	... 24 more"><pre class="notranslate"><code class="notranslate">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.&lt;init&gt;(MulticastRegistry.java:91)
	... 24 more
</code></pre></div>
<p dir="auto">If I add vm args <code class="notranslate">-Djava.net.preferIPv4Stack=true</code>, everything works fine.</p>