title: Fail to start jax-rs service on wildfly-swarm
body: <p>I have a JAX-RS service that works locally with wildfly-swarm 1.0.0.Beta8, but when I boot it on a remote machine, I get the following exception:</p>
  
  <pre><code>ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.undertow.listener.default: org.jboss.msc.service.StartException in service jboss.undertow.listener.default: Could not start http listener
      at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:142)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
  Caused by: java.net.SocketException: Protocol family unavailable
      at sun.nio.ch.Net.bind0(Native Method)
      at sun.nio.ch.Net.bind(Net.java:433)
      at sun.nio.ch.Net.bind(Net.java:425)
      at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
      at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:190)
      at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)
      at org.wildfly.extension.undertow.HttpListenerService.startListening(HttpListenerService.java:126)
      at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:138)
      ... 5 more
  </code></pre>
  
  <p>Also when I deploy the app to a full wildfly 10, it works just fine.</p>
  
  <p>I googled that the 'Protocol family unavailable' exception can be related to a machine having only an IPv6 address while java defaults to IPv4, but this machine <em>does</em> have an IPv4 address.</p>
  
  <p>I have no idea what I might be doing wrong.</p>
  
  <p>Any suggestions?</p>