From: cperkonig Date: Tue, 5 Oct 2004 12:19:24 +0000 (+0000) Subject: quickfix for bind-error X-Git-Url: http://secure.phpeclipse.com quickfix for bind-error --- diff --git a/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/PHPDBGProxy.java b/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/PHPDBGProxy.java index d336d7e..47262d7 100644 --- a/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/PHPDBGProxy.java +++ b/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/PHPDBGProxy.java @@ -92,8 +92,8 @@ public class PHPDBGProxy { } protected void createServerSocket() { - // port = SocketUtil.findUnusedLocalPort("localhost", 10001, 10101); - port = 10001; + port = SocketUtil.findUnusedLocalPort("localhost", 10001, 10101); +// port = 10001; if (port == -1) { PHPDebugCorePlugin.log(5, "Cannot find free port!!!!"); return;