File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes Using getRemoteHost Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Using getRemoteHost" Watch "Using getRemoteHost" New topic

Using getRemoteHost

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1559
I have a need to return the machine name of the computer using my web application.

I am using getRemoteHost() which works great on all but one of my WebSphere Application Servers. On this one I get the IP address for return value.

I understand the it is due to a setting called enablelookups set to false.

How do I access the property to changes its value?
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1559
Still could use some help here.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Maybe this?
Consider Paul's rocket mass heater.
subject: Using getRemoteHost
It's not a secret anymore!