Can't connect to admin console using Virtualbox

落花浮王杯 提交于 2019-12-13 05:01:03

问题


I have a VirtualBox debian VM with wildfly running. The host is a Windows 8.1. I have forwarded ports 8080 and 9990.

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>

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/.

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.

What could be causing this issue?


回答1:


Is there not another (perhaps windows) service running on that port?

Try to run netstat -a -b from the command line to find out.

TCPview is another great tool you could use.



来源:https://stackoverflow.com/questions/26960487/cant-connect-to-admin-console-using-virtualbox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!