|
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 mailing list archive is Copyright 1997-2025 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.