The Problem
When accessing the application from local URL http://localhost:8080/application then the everything works fine. However if you try accessing the application with the IP address or hosting name then it may say "This site can't reached".
Solution
First, go to your Wildfly configuration file standalone.xml
Replace this
<interface name="management">
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
</interface>
<interface name="public">
<inet-address value="${jboss.bind.address:0.0.0.0}"/>
</interface>
with this
<interface name="management">
<any-address/>
</interface>
<interface name="public">
<any-address/>
</interface>
When accessing the application from local URL http://localhost:8080/application then the everything works fine. However if you try accessing the application with the IP address or hosting name then it may say "This site can't reached".
Solution
First, go to your Wildfly configuration file standalone.xml
Replace this
<interface name="management">
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
</interface>
<interface name="public">
<inet-address value="${jboss.bind.address:0.0.0.0}"/>
</interface>
with this
<interface name="management">
<any-address/>
</interface>
<interface name="public">
<any-address/>
</interface>
after this restart with this server.
No comments:
Post a Comment