We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8046a43 commit c27e35dCopy full SHA for c27e35d
test/src/main/java/org/bouncycastle/test/est/ESTServerUtils.java
@@ -2,6 +2,7 @@
2
3
import java.io.File;
4
import java.io.IOException;
5
+import java.net.InetAddress;
6
import java.net.Socket;
7
import java.util.Arrays;
8
import java.util.List;
@@ -94,7 +95,7 @@ public static void waitForSocket(int port)
94
95
try
96
{
97
Thread.sleep(100);
- sock = new Socket("127.0.0.1", port);
98
+ sock = new Socket(InetAddress.getLoopbackAddress(), port);
99
break;
100
}
101
catch (Exception ex)
0 commit comments