This worked for me:
import flash.net.InterfaceAddress;
import flash.net.NetworkInterface;
var netInterfaces:Vector.NetworkInterface =
NetworkInfo.networkInfo.findInterfaces();
var addresses:Vector.InterfaceAddress = netInterfaces[0].addresses;
ipAddress = addresses[0].address;
On Thu, Aug 18,
Dear All,
I have published a Flex project in IIS which is wcf service oriented. Now, I
am facing a problem to catch IP address from Flex(Action Script) . From wcf
can retrieve easily , but I want to take it from Flex. Can you please help me
regarding this?
Thanks
Kumaresh
I would like to log the IP address of login failures for my application. I'd
like to know what IP address the server thinks the client has.
Anybody know how (if) I can do that?
Thanks.
tj
(To the mod: If you get this multiple times, I apologize. Y! Groups was giving
me grief.)
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
,
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
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
/Servlet-Tutorial-CGI-Variables.html
http://jguru.com/faq/printablefaq.jsp?topic=Servletspage=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
-Variables.html
http://jguru.com/faq/printablefaq.jsp?topic=Servletspage=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
] On Behalf Of Bhuvan Gupta
Sent: Thursday, March 22, 2007 10:29 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Client IP Address
ya, this is not relevant as I am using RemoteObject
functionality.
I guess I will have to switch to HTTPPost
: [flexcoders] Client IP Address
Are you using Flex Data Services? If so you can get the
ServletContext from with your RemoteObject like this:
String ipAddress =
FlexContext.getHttpRequest().getRemoteAddr();
Dirk
10 matches
Mail list logo