无法使用Virtualbox连接到管理控制台 [英] Can't connect to admin console using Virtualbox
问题描述
我有一个运行Wildfly的VirtualBox debian VM.主机是Windows 8.1.我已经转发了8080和9990端口.
I have a VirtualBox debian VM with wildfly running. The host is a Windows 8.1. I have forwarded ports 8080 and 9990.
我已经编辑了standalone.xml,其中包括:
I have edited the standalone.xml to include:
<interfaces>
<interface name="management">
<any-address/>
</interface>
<interface name="public">
<any-address/>
</interface>
<interface name="unsecure">
<inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
</interface>
</interfaces>
如预期的那样,我可以从主机访问http://localhost:8080/webservice
上的Web服务,也可以访问http://localhost:9990/
上的管理控制台.
As expected, I can access the webservice(s) on http://localhost:8080/webservice
from the host as well as the admin console on http://localhost:9990/
.
到目前为止还不错,但是当我使用Windows 7在另一台PC上运行相同的虚拟机映像时,我只能访问Web服务,而不能访问管理控制台.
So far so good, but when I run the same virtual machine image on another PC using Windows 7, I can only access the webservice but not the admin console.
什么可能导致此问题?
推荐答案
在该端口上是否没有其他服务(也许是Windows)运行?
Is there not another (perhaps windows) service running on that port?
尝试从命令行运行netstat -a -b
进行查找.
Try to run netstat -a -b
from the command line to find out.
TCPview 是您可以使用的另一种出色工具.
TCPview is another great tool you could use.
这篇关于无法使用Virtualbox连接到管理控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!