This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using getRemoteHost

 
Steve Dyke
Ranch Hand
Posts: 1616
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1616
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Still could use some help here.
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe this?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic