Wildfly 15.0.1 Final: контроллер недоступен на локальном хосте: 9990 - PullRequest
0 голосов
/ 04 февраля 2019

Я пытаюсь использовать Wildfly / JBoss для развертывания войны созданной мной программы, но я продолжаю получать следующие ошибки, когда пытаюсь подключиться:

[disconnected /] connect 127.0.0.1:9990
The controller is not available at 127.0.0.1:9990: java.net.ConnectException: WFLYPRT0053: Could not connect
 to remote+http://127.0.0.1:9990. The connection failed: WFLYPRT0053: Could not connect to remote+http://127.0.0.1:9990
. The connection failed: Connection refused: no further information

[disconnected /] connect localhost:9990
The controller is not available at localhost:9990: java.net.ConnectException: WFLYPRT0053: Could not connect
 to remote+http://localhost:9990. The connection failed: WFLYPRT0053: Could not connect to remote+http://localhost:9990
. The connection failed: Connection refused: no further information

[disconnected /] connect localhost:9991
The controller is not available at localhost:9991: java.net.ConnectException: WFLYPRT0053: Could not connect
 to remote+http://localhost:9991. The connection failed: WFLYPRT0053: Could not connect to remote+http://localhost:9991
. The connection failed: Connection refused: no further information

[disconnected /] connect localhost:10000
The controller is not available at localhost:10000: java.net.ConnectException: WFLYPRT0053: Could not connec
t to remote+http://localhost:10000. The connection failed: WFLYPRT0053: Could not connect to remote+http://localhost:10
000. The connection failed: Connection refused: no further information

[disconnected /] connect 127.0.0.1:9999
The controller is not available at 127.0.0.1:9999: java.net.ConnectException: WFLYPRT0053: Could not connect
 to remoting://127.0.0.1:9999. The connection failed: WFLYPRT0053: Could not connect to remoting://127.0.0.1:9999. The
connection failed: Connection refused: no further information

[disconnected /] connect 127.0.0.1:10000
The controller is not available at 127.0.0.1:10000: java.net.ConnectException: WFLYPRT0053: Could not connec
t to remote+http://127.0.0.1:10000. The connection failed: WFLYPRT0053: Could not connect to remote+http://127.0.0.1:10
000. The connection failed: Connection refused: no further information

[disconnected /]

Я сделал следующие шаги

1) Зашел на сайт Wildfly

2) Скачал последнюю версию автономного

3) Распаковал из архива

4) Запустите наWindows файл jboss-cli.bat, дважды щелкнув по нему

5) Набрал то, что вы видите выше (и до этого я также набрал только «подключиться», без чего-либо еще. Тем не менее, не работал, то же самоеошибка для localhost: 9990)

Я должен указать, что это чистая загрузка без изменения конфигурации, без удаления файла, без изменения вообще.Даже война не была развернута.Я также попытался добавить правило в брандмауэр Windows, чтобы разблокировать порт 9990, но та же ошибка.По порту 9990 ничего не слушает, я уже проверял в cmd.И я также перезапустил свой компьютер, прежде чем пытаться выполнить команды подключения, поэтому я ничего не могу открыть на этом порту.

У меня установлены последние версии JDK и JRE, если это поможет.

Что происходит с этой ошибкой, я действительно потерян.

1 Ответ

0 голосов
/ 04 февраля 2019

В конце концов я исправил проблему, и решение было довольно простым.Я забыл открыть standalone.sh, чтобы можно было запустить wildfly, поэтому jboss не подключился.

...