Tibor17 commented on pull request #300: URL: https://github.com/apache/maven-surefire/pull/300#issuecomment-642501453
@michael-o We have a problem with the `localhost` which was uncovered by GH build process on Mac OS and JDK 14. I have not noticed either. ``` [ERROR] Caused by: java.net.BindException: Can't assign requested address [ERROR] at java.base/sun.nio.ch.Net.bind0(Native Method) [ERROR] at java.base/sun.nio.ch.Net.bind(Net.java:479) [ERROR] at java.base/sun.nio.ch.Net.bind(Net.java:468) [ERROR] at java.base/sun.nio.ch.AsynchronousServerSocketChannelImpl.bind(AsynchronousServerSocketChannelImpl.java:163) [ERROR] at org.apache.maven.plugin.surefire.extensions.SurefireForkChannel.<init>(SurefireForkChannel.java:90) ``` See the last comment at the [stackoverflow](https://stackoverflow.com/questions/17201598/cassandra-cant-assign-requested-address-at): ``` This exact issue happened to me. Running a VM and then switched VM from ethernet to wifi which changed my network settings. Checked hosts file and was set to 127.0.0.1. However when I pinged my localhost from my VM, I got 192.x.x.x. So it wasn't resolving properly. I then set to 127.0.0.1 last stated above and voila! ``` It looks like the local loopback was more stable on Docker. `127.0.0.1` is always the same even if the network settings change in time. I had to interrupt the release. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org