forked from I2P_Developers/i2p.i2p
2004-12-05 jrandom
* Explicitly use "127.0.0.1" to bind the I2CP listener, not the JVM's getLocalhost call
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
$Id: history.txt,v 1.96 2004/12/05 10:32:34 jrandom Exp $
|
$Id: history.txt,v 1.97 2004/12/05 19:54:08 jrandom Exp $
|
||||||
|
|
||||||
|
2004-12-05 jrandom
|
||||||
|
* Explicitly use "127.0.0.1" to bind the I2CP listener, not the JVM's
|
||||||
|
getLocalhost call
|
||||||
|
|
||||||
2004-12-05 jrandom
|
2004-12-05 jrandom
|
||||||
* Default the I2CP listener to localhost only, unless overridden by
|
* Default the I2CP listener to localhost only, unless overridden by
|
||||||
|
@@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class RouterVersion {
|
public class RouterVersion {
|
||||||
public final static String ID = "$Revision: 1.101 $ $Date: 2004/12/05 10:32:33 $";
|
public final static String ID = "$Revision: 1.102 $ $Date: 2004/12/05 19:54:07 $";
|
||||||
public final static String VERSION = "0.4.2.2";
|
public final static String VERSION = "0.4.2.2";
|
||||||
public final static long BUILD = 5;
|
public final static long BUILD = 6;
|
||||||
public static void main(String args[]) {
|
public static void main(String args[]) {
|
||||||
System.out.println("I2P Router version: " + VERSION);
|
System.out.println("I2P Router version: " + VERSION);
|
||||||
System.out.println("Router ID: " + RouterVersion.ID);
|
System.out.println("Router ID: " + RouterVersion.ID);
|
||||||
|
@@ -65,7 +65,7 @@ public class ClientListenerRunner implements Runnable {
|
|||||||
if (_bindAllInterfaces)
|
if (_bindAllInterfaces)
|
||||||
_socket = new ServerSocket(_port);
|
_socket = new ServerSocket(_port);
|
||||||
else
|
else
|
||||||
_socket = new ServerSocket(_port, 5, InetAddress.getLocalHost());
|
_socket = new ServerSocket(_port, 0, InetAddress.getByName("127.0.0.1"));
|
||||||
|
|
||||||
curDelay = 0;
|
curDelay = 0;
|
||||||
while (_running) {
|
while (_running) {
|
||||||
|
Reference in New Issue
Block a user