wildfly 如何设置外网访问
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>
最新文章
- logstash日志分析的配置和使用
- JAVA-堆区,栈区,方法区。
- bat获取所有的参数
- select中无法使用click的处理
- C# JackLib系列之Form窗体的ShowWithoutActivation属性及其作用
- 如何在mac上安装composer(How to install composer on the Mac)
- 【译】 AWK教程指南 6在AWK程序中使用Shell命令
- Aix命令大全
- font awesome icon
- VS2008 快捷键大全--------<;<;转>;>;
- html元素中class属性值多个空格分格是什么意思?
- Thinkphp开启调试模式
- Caused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContextAware
- RxJava操作符(07-辅助操作)
- ViewpageMaiActity
- 1732157 - Collecting diagnosis information for SAP HANA [VIDEO]
- Capjoint
- Python基础--列表、元组
- Dom4j入门
- 洛谷P5282 【模板】快速阶乘算法(多项式多点求值+MTT)
热门文章
- 自己用wireshark 抓了个包,分析了一下
- POj-3104 Drying 二分+贪心
- (转)java 排序算法
- wind10系统 Atheros AR9271 Wireless Network Adapter USBwifi无线网卡的驱动安装解决无法搜索wifi信号,连接wifi信号无法上网的问题
- hrbustoj 1494(原题UVA 315 Network) 解题报告 tarjan求割点
- 转:Visual Studio进行Web性能测试- Part I
- iomanip头
- IndiaHacks 2016 - Online Edition (Div. 1 + Div. 2) B. Bear and Compressing
- Eclipse 安装插件
- 由获取子元素的方法find和children所获