diff --git a/jetty-io/src/test/java/org/eclipse/jetty/io/IOTest.java b/jetty-io/src/test/java/org/eclipse/jetty/io/IOTest.java index b4e7f48f325..85d353fa179 100644 --- a/jetty-io/src/test/java/org/eclipse/jetty/io/IOTest.java +++ b/jetty-io/src/test/java/org/eclipse/jetty/io/IOTest.java @@ -285,7 +285,7 @@ public class IOTest Socket client; Socket server; - connector = new ServerSocket(9123); + connector = new ServerSocket(0); client = new Socket("127.0.0.1",connector.getLocalPort()); server = connector.accept(); client.setTcpNoDelay(true);