axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Seidhi H <>
Subject HOW-to get Host IP from within SOAP
Date Fri, 12 Apr 2002 20:21:10 GMT
Is there a method to query and find the IP
address of the HOST that is currently used by the
server from SOAP/Axis.

I have a peculiar situation in which the WIN2K box
that runs Tomcat 4.0.1 [Catalina] has more than one
NIC. When i use the
InetAddress.getLocalHost().getHostAddress() from my a
handler that is called by the SOAP router, i get the
IP address that is other than the one on which Tomcat
is currently serving. But Tomcat seems to start fine
and is listening and serving clients if accessed using
the correct IP..... So how does AXIS retrieve this
information for it to work correctly.... Is there an
extensive validation before one can find the IP that
can be used for a web service/server???

TIA for your help,

Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax

View raw message