I am using JBoss AS 7 and trying to connect to my application using the IP (from a computer in the intranet). It is not working. If I test from the computer which has the server I can see the system running if I go through localhost (http://localhost:8080/MySystem....) but not If I try with the IP (http://:8080/MySystem....).
Any help?
If you are running JBoss from an IDE there should be a checkbox that allows for remote web access. It is unchecked by default. In eclipse, double click on JBoss under the servers tab and there should be a checkbox labeled "Listen on all interfaces to allow remote web connections." under the Server Behaviour tab.
Yes. When Jboss server startup. It's show Jboss EAP is 7.0 and JDK is 1.8.
To stop JBoss EAP by pressing CTRL+C: Navigate to the terminal where JBoss EAP is running. Press Ctrl+C to stop JBoss Enterprise Application Platform.
The answer is to edit standalone.xml and insert the tag any-address instead of inet-address bound to 127.0.0.1
<interfaces> <interface name="management"> <inet-address value="127.0.0.1"/> </interface> <interface name="public"> <any-ipv4-address/> </interface> </interfaces>
I changed the 127.0.0.1 (localhost) to 0.0.0.0 in standalone.xml. It works. Just be aware of the security.
<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> <!-- TODO - only show this if the jacorb subsystem is added --> <interface name="unsecure"> <!-- ~ Used for IIOP sockets in the standard configuration. ~ To secure JacORB you need to setup SSL --> <inet-address value="${jboss.bind.address.unsecure:0.0.0.0}"/> </interface> </interfaces>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With