diff --git a/src/org/rascalmpl/dap/DebugSocketServer.java b/src/org/rascalmpl/dap/DebugSocketServer.java index 9c3b9fc87fb..b7506e3aeb5 100644 --- a/src/org/rascalmpl/dap/DebugSocketServer.java +++ b/src/org/rascalmpl/dap/DebugSocketServer.java @@ -30,6 +30,7 @@ import io.usethesource.vallang.ISourceLocation; import java.io.IOException; +import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; import java.util.concurrent.ExecutorService; @@ -56,7 +57,7 @@ public DebugSocketServer(Evaluator evaluator, IDEServices services, ISourceLocat this.services = services; this.promptLocation = promptLocation; try { - serverSocket = new ServerSocket(0); + serverSocket = new ServerSocket(0, 50, InetAddress.getLoopbackAddress()); } catch (IOException e) { throw new RuntimeException(e); }