If you want the machine's IP on their internal network, such as 192.168.1.5, etc, I don't think you are able to get at this.
Otherwise, these links might help you (some examples show how to get REMOTE_ADDR in Java). Not sure if it's relevant. http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-CGI-Variables.html http://jguru.com/faq/printablefaq.jsp?topic=Servlets&page=1 Adam ----- Original Message ----- From: Bhuvan Gupta To: flexcoders@yahoogroups.com Sent: Thursday, March 22, 2007 6:56 PM Subject: Re: [flexcoders] Client IP Address I didn't frame my query properly. It was incomplete. My bad. Here's the scenario. - I am using Java backend (tomcat) - I am using Remote Object functionality. Now from flex I wish to send the client IP when I invoke a method on the Remote Java Object. What is the best way (if at all there is one) to send the client IP address ? Thanks On Mar 22, 2007, at 2:20 PM, Adam Royle wrote: The server can tell you what their IP address is. In PHP it would be something like this: $_SERVER['REMOTE_ADDR']; But remember that IP addresses can be faked. And in the example above you might get their proxy's IP address, and not the actual IP address of their computer/router. Cheers, Adam ----- Original Message ----- From: Bhuvan Gupta To: flexcoders@yahoogroups.com Sent: Thursday, March 22, 2007 6:31 PM Subject: [flexcoders] Client IP Address Hi All, I want to send client's (browser's) IP address to the backend. As I understand, Flex doesn't provide support to fetch the client IP Address. What is the best and browser independent way to send client IP to the backend ? Thanks