Search code examples
portwildflyoffsetwildfly-10

WildFly 10.0 port offset "9" can't connect to CLI at 9999


I need to run a WildFly 10.0.0 instance with a jboss.socket.binding.port-offset=9

It start but I'm not able to connect to CLI with port 9999 (9990+offset)


Solution

  • When you use port 9999, CLI will by default fallback to remoting protocol (EAP 6 default) and won't be able to connect to the EAP 7 although the correct port number is used. Because of this, you have to use protocol while connecting to remote server instance, like as:

    $JBOSS_HOME/bin/jboss-cli.sh -c --controller=http-remoting://localhost:9999