jboss - Wildfly 15.0.1 最终版本 : The controller is not available at localhost:9990

标签 jboss wildfly

我正在尝试使用 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,所以我不会在那个端口上打开任何东西。

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

这个错误是怎么回事,我真是迷路了。

最佳答案

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

关于jboss - Wildfly 15.0.1 最终版本 : The controller is not available at localhost:9990,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54512512/

相关文章:

linux - 无法在正在运行的 JBoss 进程上出现 "strace -p"

java - HttpsURLConnection.setDefaultHostnameVerifier : method verify not invoked

java - Wildfly 不断重定向本地主机 :8080/app to localhost:8080/app/ending in 403 error

jsf - 从 glassfish 4 迁移到 wildfly 8.1 后命名空间出错

Java:无论应用服务器如何,通用访问资源文件

java - 使用 jqGrid 压缩 JSON

java - 如何使用 JBOSS 配置摆脱谷歌浏览器中过时的密码套件问题

maven - 如何创建(部署)多项目?

angular - 如何在 Wildfly 上使用 Angular 7 单页应用程序避免 404 错误

java - 配置更改无需重新部署