Wildfly 15.0.1 Final:该控制器在localhost:9990不可用

时间:2019-02-04 08:35:14

标签: jboss wildfly

我正在尝试使用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)键入您在上面看到的内容(在此之前,我还只键入了“ connect”,没有其他任何内容。仍然无法正常工作,对于localhost:9990来说是同样的错误)

我必须指定这是干净的下载,没有更改配置,没有删除文件,没有任何修改。甚至没有部署战争。我还尝试向Windows防火墙添加规则以解锁端口9990,仍然是相同的错误。在端口9990上没有任何监听,我已经在cmd中进行了检查。而且,在尝试执行连接命令之前,我还重新启动了PC,因此我无法在该端口上打开任何东西。

如果有帮助,我已经在PC上安装了JDK和JRE的最新版本。

此错误是怎么回事,我真的迷路了。

1 个答案:

答案 0 :(得分:1)

最后,我解决了这个问题,解决方案非常简单。我忘记打开standalone.sh以便可以运行wildfly,这就是jboss无法连接的原因。