| Author |
localhost and machine name bound to jboss.bind.address
|
Preetham Chandrasekhar
Ranch Hand
Joined: Nov 05, 2003
Posts: 98
|
|
Hi guys, Is there a way to bind both the localhost and the machine name to jboss.bind.address? Basically I want to be able to access the url http://localhost:8080 as well as http://<machine-name>:8080 Here's the extract from jboss-service.xml of jboss4.2.2GA <Connector port="8080" address="${jboss.bind.address}" maxThreads="250" maxHttpHeaderSize="8192" emptySessionPath="true" protocol="HTTP/1.1" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" /> Thanks Preetham
|
"In theory, there is no difference between theory and practice. But, in practice, there is."<br /> - Jan L.A. van de Snepscheut
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8145
|
|
|
How about starting JBoss with -b 0.0.0.0 option. That way, you can access the system using localhost, machineName and even the IP address.
|
[My Blog] [JavaRanch Journal]
|
 |
Preetham Chandrasekhar
Ranch Hand
Joined: Nov 05, 2003
Posts: 98
|
|
|
thanks Jai Kiran...that works!
|
 |
 |
|
|
subject: localhost and machine name bound to jboss.bind.address
|
|
|