WildFly 10.0 端口偏移量“9”无法在 9999 连接到 CLI

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

我需要 运行 具有 jboss.socket.binding.port-offset=9

的 WildFly 10.0.0 实例

它启动了,但我无法使用端口 9999(9990+偏移量)连接到 CLI

当您使用端口 9999 时,CLI 将默认回退到远程协议(默认为 EAP 6),并且即使使用了正确的端口号也无法连接到 EAP 7。因此,您必须在连接到远程服务器实例时使用协议,例如:

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