aboutsummaryrefslogtreecommitdiffstats
path: root/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'java/com')
-rw-r--r--java/com/tigervnc/network/TcpListener.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/java/com/tigervnc/network/TcpListener.java b/java/com/tigervnc/network/TcpListener.java
index afe80753..d6e92ab9 100644
--- a/java/com/tigervnc/network/TcpListener.java
+++ b/java/com/tigervnc/network/TcpListener.java
@@ -59,9 +59,7 @@ public class TcpListener extends SocketListener {
} else if (listenaddr != null) {
addr = java.net.InetAddress.getByName(listenaddr);
} else {
- // FIXME: need to be sure we get the wildcard address?
- addr = InetAddress.getByName(null);
- //addr = InetAddress.getLocalHost();
+ addr = InetAddress.getByName("0.0.0.0");
}
} catch (UnknownHostException e) {
System.out.println(e.toString());