我在AWS的Linux CentOS上安装了Wildfly 17.0.0.1.Final,并且可以成功进入Wildfly的欢迎页面,但是当我尝试进入管理控制台时,它只是无法加载页面(超时)。 关于如何解决此问题的任何想法?
答案 0 :(得分:0)
在JBOSS_HOME / standalone / configuration / standalone.xml中编辑管理绑定地址。将管理地址更改为0.0.0.0(默认为127.0.0.1)
public MainPage()
{
this.InitializeComponent();
Window.Current.Dispatcher.AcceleratorKeyActivated += AccelertorKeyActivedHandle;
}
private async void AccelertorKeyActivedHandle(CoreDispatcher sender, AcceleratorKeyEventArgs args)
{
if (args.EventType.ToString().Contains("Down"))
{
var ctrl = Window.Current.CoreWindow.GetKeyState(Windows.System.VirtualKey.Control);
if (ctrl.HasFlag(CoreVirtualKeyStates.Down))
{
if (args.VirtualKey == Windows.System.VirtualKey.Number1)
{
// add the content in textbox
}
}
}
}
或使用以下命令启动wildfly
<interface name="management">
<inet-address value="${jboss.bind.address.management:0.0.0.0}"/>
</interface>