diff options
author | Vitaly Takmazov | 2016-02-01 20:08:09 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-02-01 20:08:09 +0300 |
commit | 1cb765a2f7cfae74fb99f85e74654d5d11bcd345 (patch) | |
tree | 90545e1a946093474457afd1d6e7731a11bec6ad /src/main/java/com/juick/xmpp/s2s | |
parent | a9a7dd2da8db472e20c3aa44ae7cac274b8ed499 (diff) |
fix router
Diffstat (limited to 'src/main/java/com/juick/xmpp/s2s')
-rw-r--r-- | src/main/java/com/juick/xmpp/s2s/ConnectionRouter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/xmpp/s2s/ConnectionRouter.java b/src/main/java/com/juick/xmpp/s2s/ConnectionRouter.java index 73e7a65e..2532a600 100644 --- a/src/main/java/com/juick/xmpp/s2s/ConnectionRouter.java +++ b/src/main/java/com/juick/xmpp/s2s/ConnectionRouter.java @@ -39,7 +39,7 @@ public class ConnectionRouter extends Connection implements Runnable { try { socket = AsynchronousSocketChannel.open(); - socket.connect(new InetSocketAddress(5347), socket, new CompletionHandler<Void, AsynchronousSocketChannel>() { + socket.connect(new InetSocketAddress("localhost", 5347), socket, new CompletionHandler<Void, AsynchronousSocketChannel>() { @Override public void completed(Void result, AsynchronousSocketChannel client) { try { |