Not in all cases, what if the web servers are behind a device such as a load balancer.
"This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions." Visit our website at http://www.reedexpo.com -----Original Message----- From: Jenny Gavin-Wear To: CF-Talk Sent: Sat Aug 19 01:34:27 2006 Subject: RE: OT: Finding Server IP Sorry if this is a dumb idea, but if you ping the web url you'll get the IP of the web server. ie: ping 66.103.145.74 gives the same as ping www.fasttrackonline.co.uk Jenny -----Original Message----- From: Paul Giesenhagen [mailto:[EMAIL PROTECTED] Sent: 18 August 2006 16:03 To: CF-Talk Subject: Re: OT: Finding Server IP Yes we are validating a license ... but we need to know for a particular license the host server. Paul Giesenhagen QuillDesign 417-885-1375 http://www.quilldesign.com SiteDirector Shopping Cart Software ----- Original Message ----- From: "Adkins, Randy" <[EMAIL PROTECTED]> To: "CF-Talk" <cf-talk@houseoffusion.com> Sent: Friday, August 18, 2006 9:27 AM Subject: RE: OT: Finding Server IP > Is this some type of service you are wanting the machines to identify > where they > Are coming from for validation or something? > > Say you have a CF application you sell and have it validate the license > or something > And you want to know where the request is coming from? > > > -----Original Message----- > From: Russ [mailto:[EMAIL PROTECTED] > Sent: Friday, August 18, 2006 10:15 AM > To: CF-Talk > Subject: RE: OT: Finding Server IP > > I'm not getting it... Do you have the sites somehow load balanced > between the 3 servers, or do you have 3 separate sites at each of the > NOCs? If it's the same site, then how are you doing your loadbalancing? > > Russ > >> -----Original Message----- >> From: Paul Giesenhagen [mailto:[EMAIL PROTECTED] >> Sent: Friday, August 18, 2006 9:50 AM >> To: CF-Talk >> Subject: Re: OT: Finding Server IP >> >> Example, You are hosting a website at hostmysite.com and another over >> at crystaltech.com and yet another at some other server farm. >> >> I want to find out what machine the information is coming from, but >> not by website address because there may be 2-3 different sites on >> each of the servers and I want to know that these 2-3 sites are >> coming from this server and those 2-3 sites are responding from that >> server. >> >> >> >> Paul Giesenhagen >> QuillDesign >> 417-885-1375 >> http://www.quilldesign.com >> SiteDirector Shopping Cart Software >> >> >> ----- Original Message ----- >> From: "Russ" <[EMAIL PROTECTED]> >> To: "CF-Talk" <cf-talk@houseoffusion.com> >> Sent: Friday, August 18, 2006 8:37 AM >> Subject: RE: OT: Finding Server IP >> >> >> > I'm guessing you're using NLB and the servers are sharing the ip? >> > Do >> you >> > have unique instance names for your CF instances? In that case you >> > can >> do >> > something like this: >> > >> > <cfobject action="create" type="java" class="jrunx.kernel.JRun" >> name="jr"> >> > <cfset servername = jr.getServerName()> >> > <cfoutput>#servername#</cfoutput> >> > >> > >> > >> >> -----Original Message----- >> >> From: Paul Giesenhagen [mailto:[EMAIL PROTECTED] >> >> Sent: Friday, August 18, 2006 9:29 AM >> >> To: CF-Talk >> >> Subject: Re: OT: Finding Server IP >> >> >> >> Primary IP of the server, I am trying getting info back from >> >> different servers and I want to know which server I am getting what > >> >> information back from. I cannot pass a variable that I create, so >> >> I am trying to find something that is unique and the servers >> >> primary IP is what I have come up with. >> >> >> >> Paul Giesenhagen >> >> QuillDesign >> >> 417-885-1375 >> >> http://www.quilldesign.com >> >> SiteDirector Shopping Cart Software >> >> >> >> >> >> ----- Original Message ----- >> >> From: "Russ" <[EMAIL PROTECTED]> >> >> To: "CF-Talk" <cf-talk@houseoffusion.com> >> >> Sent: Friday, August 18, 2006 8:22 AM >> >> Subject: RE: OT: Finding Server IP >> >> >> >> >> >> > What are you trying to do? Do you , for some reason, need the >> primary >> >> ip >> >> > of >> >> > the server instead of the ip that the website is hosted on? >> >> > Usually >> it >> >> > doesn't matter which IP you use to get to the server, as they are > >> >> > all valid, and can all be used to reach the server. Sometimes >> >> > there might be different firewall configurations for different >> >> > ips, but usually there's no >> real >> >> > difference. >> >> > >> >> > Russ >> >> > >> >> >> -----Original Message----- >> >> >> From: Paul Giesenhagen [mailto:[EMAIL PROTECTED] >> >> >> Sent: Friday, August 18, 2006 9:13 AM >> >> >> To: CF-Talk >> >> >> Subject: Re: OT: Finding Server IP >> >> >> >> >> >> Yes, I do NOT want to use CFExecute ... >> >> >> >> >> >> But somehow get that information. >> >> >> >> >> >> >> >> >> Paul Giesenhagen >> >> >> QuillDesign >> >> >> 417-885-1375 >> >> >> http://www.quilldesign.com >> >> >> SiteDirector Shopping Cart Software >> >> >> >> >> >> >> >> >> ----- Original Message ----- >> >> >> From: "Ryan, Terrence" <[EMAIL PROTECTED]> >> >> >> To: "CF-Talk" <cf-talk@houseoffusion.com> >> >> >> Sent: Friday, August 18, 2006 1:26 AM >> >> >> Subject: RE: OT: Finding Server IP >> >> >> >> >> >> >> >> >> > Neil: The CGI Scope would reveal the ip address that the >> >> >> > request came through, not the base ip of the server. >> >> >> > >> >> >> > Paul: You say "not look it up in the operating system tools" >> >> >> > does >> >> that >> >> >> > mean that using cfexecute to call ipconfig.exe is out? >> >> >> > >> >> >> > >> >> >> > Terrence Ryan >> >> >> > Senior Systems Programmer >> >> >> > Wharton Computing and Information Technology >> >> >> > >> >> >> > E-mail: [EMAIL PROTECTED] >> >> >> > >> >> >> > -----Original Message----- >> >> >> > From: Robertson-Ravo, Neil (RX) >> >> >> > [mailto:[EMAIL PROTECTED] >> >> >> > Sent: Friday, August 18, 2006 2:14 AM >> >> >> > To: CF-Talk >> >> >> > Subject: Re: OT: Finding Server IP >> >> >> > >> >> >> > This info should in the CGI scope. >> >> >> > >> >> >> > >> >> >> > >> >> >> > -----Original Message----- >> >> >> > From: Paul Giesenhagen >> >> >> > To: CF-Talk >> >> >> > Sent: Fri Aug 18 06:21:28 2006 >> >> >> > Subject: OT: Finding Server IP >> >> >> > >> >> >> > I am wanting to find out what the SERVER IP address (main IP) >> >> >> > of >> the >> >> >> > server my application is running on, not the website's IP >> >> >> > address but it's server. >> >> >> > Our server runs a number of websites and they all have >> >> >> > different >> IP >> >> >> > addresses .. those are not what I am interested in... I want >> >> >> > to >> find >> >> >> > out >> >> >> > the SERVER that they are running on's IP address (coding >> >> >> > method) >> not >> >> >> > look it up in the operating system tools. >> >> >> > >> >> >> > >> >> >> > Paul Giesenhagen >> >> >> > QuillDesign >> >> >> > 417-885-1375 >> >> >> > http://www.quilldesign.com >> >> >> > SiteDirector Shopping Cart Software >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> >> >> >> >> >> > >> >> > >> >> >> >> >> > >> > >> >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250385 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4