I configured Jboss EAP-6.4.0 to run my project from eclipse,and its working fine when trying with loalhost
but when i am trying with machine ip(http://ip:8080
) it is not responding.
I tried to add -c default -b 0.0.0.0
inside eclipse Launch Configuration->Arguments
section but then i am getting
java.lang.IllegalStateException: JBAS014805: Could not get main file: default. Specified files must be relative to the configuration dir: C:\Users\subodhc\EAP-6.4.0\standalone\configuration at org.jboss.as.controller.persistence.ConfigurationFile.determineMainFile(ConfigurationFile.java:168) at org.jboss.as.controller.persistence.ConfigurationFile.(ConfigurationFile.java:95) at org.jboss.as.server.ServerEnvironment.(ServerEnvironment.java:393) at org.jboss.as.server.Main.determineEnvironment(Main.java:265) at org.jboss.as.server.Main.main(Main.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.modules.Module.run(Module.java:312) at org.jboss.modules.Main.main(Main.java:473)
Can someone please let me know how to bind ipaddress ?