wildfly的默认配置是不支持外网访问的,

要想实现外网访问需要修改standalone.xml配置文件。

配置文件所在路径:wildfly/standalone/configuration/standalone.xml

看到是要访问public(8080端口的)和management的interface,将interface中的对应绑定地址127.0.0.1改为0.0.0.0即可。

修改前:

<interfaces>

<interface name="management">
<inet-address value="${jboss.bind.address.management:127.0.0.0}"/>
</interface>
<interface name="public">
<inet-address value="${jboss.bind.address:127.0.0.0}"/>
</interface>
<interface name="unsecure">
<inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
</interface>
</interfaces>

修改后:

<interfaces>

<interface name="management">
<inet-address value="${jboss.bind.address.management:0.0.0.0}"/>
</interface>
<interface name="public">
<inet-address value="${jboss.bind.address:0.0.0.0}"/>
</interface>
<interface name="unsecure">
<inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
</interface>
</interfaces>

最新文章

  1. logstash日志分析的配置和使用
  2. JAVA-堆区,栈区,方法区。
  3. bat获取所有的参数
  4. select中无法使用click的处理
  5. C# JackLib系列之Form窗体的ShowWithoutActivation属性及其作用
  6. 如何在mac上安装composer(How to install composer on the Mac)
  7. 【译】 AWK教程指南 6在AWK程序中使用Shell命令
  8. Aix命令大全
  9. font awesome icon
  10. VS2008 快捷键大全--------&lt;&lt;转&gt;&gt;
  11. html元素中class属性值多个空格分格是什么意思?
  12. Thinkphp开启调试模式
  13. Caused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContextAware
  14. RxJava操作符(07-辅助操作)
  15. ViewpageMaiActity
  16. 1732157 - Collecting diagnosis information for SAP HANA [VIDEO]
  17. Capjoint
  18. Python基础--列表、元组
  19. Dom4j入门
  20. 洛谷P5282 【模板】快速阶乘算法(多项式多点求值+MTT)

热门文章

  1. 自己用wireshark 抓了个包,分析了一下
  2. POj-3104 Drying 二分+贪心
  3. (转)java 排序算法
  4. wind10系统 Atheros AR9271 Wireless Network Adapter USBwifi无线网卡的驱动安装解决无法搜索wifi信号,连接wifi信号无法上网的问题
  5. hrbustoj 1494(原题UVA 315 Network) 解题报告 tarjan求割点
  6. 转:Visual Studio进行Web性能测试- Part I
  7. iomanip头
  8. IndiaHacks 2016 - Online Edition (Div. 1 + Div. 2) B. Bear and Compressing
  9. Eclipse 安装插件
  10. 由获取子元素的方法find和children所获