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:250290 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4