Seems like a good idea. I have a feeling I've written something similar in the past. I'll take a look around...
Greg. On Thu, 2012-10-11 at 08:05, Simon IJskes - QCG wrote: > Shall we build a localHost lookup class for use river-wide, that allows > for a pluggable best hostname/ipaddress finder? > > And replace all InetAddress.getLocalHost() with a call > LocalHostLookup.getLocalHost() ? > > We can plugin, enable/disable the check host=127.0.0.1 from there. > > Gr. Simon > > > -- > QCG, Software voor het MKB, 071-5890970, http://www.qcg.nl > Quality Consultancy Group b.v., Leiderdorp, Kvk Den Haag: 28088397
