× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Does anyone have any idea what would cause the following code ... 
 
out.println("request.getLocalAddr() = " +  request.getLocalAddr() +
"<br>");
out.println("request.getLocalName() = " +  request.getLocalName() +
"<br>");
 
within a .jsp file running in WAS 6.0, to product results with the
address and host name switched?
 
My results running locally within WDSC are
 
request.getLocalAddr() = localhost
request.getLocalName() = 127.0.0.1

 
When I deploy to a production WAS 6.0 server I get the server values
switched also.
 
Seems like this may be a DNS issue somewhere, or I am just doing
something stupid somewhere.
 
Thanks in advance.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.