-
1. Re: I can't access my application in wildfly server from another computer
emag Jun 20, 2016 11:39 PM (in response to japochino1)WildFly public interface is bound with localhost by default. in case that the only local machine can access it.
You can pass your machine specific interface ip address by the following arguments for standalone.sh to access from remote machines.
* -b <ip addr>
* -Djboss.bind.address=<ip addr>
-
2. Re: I can't access my application in wildfly server from another computer
japochino1 Jun 21, 2016 5:59 AM (in response to emag)Thanks!
I'm not familiar with the usage of these arguments. Where can I find documentation?
I normally start the server from command line typing: ./standalone.sh --server-config=standalone-full.xml
if my ip is, let say, 192.168.21.116, how must I use these arguments?
Thanks so much!
-
3. Re: I can't access my application in wildfly server from another computer
emag Jun 21, 2016 8:31 AM (in response to japochino1)1 of 1 people found this helpful> Where can I find documentation?
Command line parameters - WildFly 10 - Project Documentation Editor
you can also see the usage with ./standalone.sh --help
> if my ip is, let say, 192.168.21.116, how must I use these arguments?
./standalone.sh --server-config=standalone-full.xml -b 192.168.21.116
or,
./standalone.sh --server-config=standalone-full.xml -Djboss.bind.address=192.168.21.116
-
4. Re: I can't access my application in wildfly server from another computer
japochino1 Jun 21, 2016 11:02 AM (in response to emag)Perfect, but when I use -b param I can't access admin console in http://192.168.21.116:9990??
-
5. Re: I can't access my application in wildfly server from another computer
emag Jun 21, 2016 11:15 AM (in response to japochino1)1 of 1 people found this helpfulAdd '-bmanagement 192.168.21.116' or '-Djboss.bind.address.management=192.168.21.116'
-
6. Re: I can't access my application in wildfly server from another computer
japochino1 Jun 21, 2016 12:44 PM (in response to emag)Thank you very much!
-
7. Re: I can't access my application in wildfly server from another computer
japochino1 Jun 22, 2016 11:04 AM (in response to japochino1)Can I configure Eclipse for starting wildfly with this parameters? I have create a Server but I can`t see where to configure jboss.bind.address
Thanks
-
8. Re: I can't access my application in wildfly server from another computer
japochino1 Jun 22, 2016 11:05 AM (in response to japochino1)I`ll write another discussion for this ...