I needed to get the IP address from the server running ColdFusion today. Immediately I <cfdump>'d the CGI variables but that only gives you the HTTP_HOST. So with no luck there I turned to Google, ColdFusion plus Java and I finally managed to get the info with the following:<cfset inet = CreateObject("java", "java.net.InetAddress")><cfoutput>#inet.getLocalHost()#</cfoutput>Hat tip to Peter Freitag's blog post for pointing me in the right direction too.