summaryrefslogtreecommitdiffstats
path: root/jrt/src/com/yahoo/jrt/Acceptor.java
diff options
context:
space:
mode:
Diffstat (limited to 'jrt/src/com/yahoo/jrt/Acceptor.java')
-rw-r--r--jrt/src/com/yahoo/jrt/Acceptor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jrt/src/com/yahoo/jrt/Acceptor.java b/jrt/src/com/yahoo/jrt/Acceptor.java
index dd4b5a72a4f..9e9dafcbcb5 100644
--- a/jrt/src/com/yahoo/jrt/Acceptor.java
+++ b/jrt/src/com/yahoo/jrt/Acceptor.java
@@ -58,7 +58,7 @@ public class Acceptor {
if (spec.port() != 0) {
serverChannel.socket().setReuseAddress(true);
}
- serverChannel.socket().bind(spec.address(), 500);
+ serverChannel.socket().bind(spec.resolveAddress(), 500);
} catch (Exception e) {
if (serverChannel != null) {
try { serverChannel.socket().close(); } catch (Exception ignore) {}