This content has been marked as final.
Show 2 replies
-
1. Re: Server Bind using a name instead of an ip
ljhiyh Mar 19, 2015 7:47 PM (in response to silverspectre)1 of 1 people found this helpfulHi luke,
You can also use server name like following :
~~~
wildfly_home/bin/standalone.sh -b server1
~~~
-b option is same as $jboss.bind.address, which means if you set the option, it will replace of the system property in standalone-*.xml
~~~
<interface name="public">
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
</interface>
~~
However, I recommend that you use IP address directly because it would be faster. IP address do not need to find anything like name which should be changed to IP via /etc/hosts or DNS server.
Moreover, sometimes it cause some issues to search DNS server for the right IP.
I hope it would help you.
Thanks,
Jooho Lee.
-
2. Re: Server Bind using a name instead of an ip
silverspectre Mar 19, 2015 8:02 PM (in response to ljhiyh)Thankyou Kindly Jooho,