Wildfly 15.0.1 Final:控制器在 localhost:9990 不可用
Wildfly 15.0.1 Final: The controller is not available at localhost:9990
我正在尝试使用 Wildfly/JBoss 来部署我制作的程序的 war,但是当我尝试连接时,我不断收到以下错误:
[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相同的错误)
我必须说明这是一个干净的下载,没有更改配置,没有删除文件,也没有任何修改。甚至 war 都没有部署。我也尝试在Windows防火墙中添加一条规则来解锁9990端口,还是一样的错误。在端口 9990 上没有任何监听,我已经在 cmd 中检查过。在尝试连接命令之前,我还重新启动了我的电脑,所以我不会在那个端口上打开任何东西。
如果有帮助,我已经在我的 PC 上安装了最新版本的 JDK 和 JRE。
这个错误是怎么回事,我真是迷路了
最后我解决了问题,解决方案非常简单。我忘了打开 standalone.sh 以便 wildfly 可以 运行,这就是 jboss 没有连接的原因。
我正在尝试使用 Wildfly/JBoss 来部署我制作的程序的 war,但是当我尝试连接时,我不断收到以下错误:
[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相同的错误)
我必须说明这是一个干净的下载,没有更改配置,没有删除文件,也没有任何修改。甚至 war 都没有部署。我也尝试在Windows防火墙中添加一条规则来解锁9990端口,还是一样的错误。在端口 9990 上没有任何监听,我已经在 cmd 中检查过。在尝试连接命令之前,我还重新启动了我的电脑,所以我不会在那个端口上打开任何东西。
如果有帮助,我已经在我的 PC 上安装了最新版本的 JDK 和 JRE。
这个错误是怎么回事,我真是迷路了
最后我解决了问题,解决方案非常简单。我忘了打开 standalone.sh 以便 wildfly 可以 运行,这就是 jboss 没有连接的原因。