• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Using getRemoteHost

 
Ranch Hand
Posts: 2025
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: 2025
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Still could use some help here.
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe this?
 
She's out of the country right now, toppling an unauthorized dictatorship. Please leave a message with this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic