Browse Source

Change RMI Port to one thats non-standard and is thus less likely to be already in use.

Reduce number of ports to check/try to use to 5 from 10. (Fixes issue 1725)


git-svn-id: http://svn.dmdirc.com/trunk@4614 00569f92-eb28-0410-84fd-f71c24880f
tags/0.6.3m1rc1
Shane Mc Cormack 16 years ago
parent
commit
d2ebf1d4e1
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/com/dmdirc/commandline/RemoteServer.java

+ 2
- 2
src/com/dmdirc/commandline/RemoteServer.java View File

@@ -41,9 +41,9 @@ import java.util.List;
41 41
 public class RemoteServer implements RemoteInterface {
42 42
     
43 43
     /** The minimum port to use for RMI binding. */
44
-    private static final int MINPORT = 1099;
44
+    private static final int MINPORT = 3634;
45 45
     /** The maximum port to use for RMI binding. */
46
-    private static final int MAXPORT = 1109;
46
+    private static final int MAXPORT = MINPORT + 5;
47 47
     /** The interface we're exposing. */
48 48
     private static final RemoteServer SERVER = new RemoteServer();
49 49
     

Loading…
Cancel
Save