This gets the hostname:

<cfset txtLocalHostname = CreateObject("java",
"java.net.InetAddress").getLocalHost().getHostName()>

IP address would be something similar.

Jaime Metcher

> -----Original Message-----
> From: Sonny Savage [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 27 March 2008 5:17 AM
> To: CF-Talk
> Subject: Determining The Server's IP
>
>
> I was wondering if there are some values I can look at that reliably hold
> the server's IP address.  The CGI variables seem to show the same thing as
> what's in the address bar.
>
> Thanks!
>
> --
>
> Edward A Savage Jr - "Sonny"
> Senior Software Engineer
> Creditdiscovery, LLC
> "I was gratified to be able to answer promptly. I said I don't
> know." ~ Mark
> Twain
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302134
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to