Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

How to read vista client's IP address from servlet

  Asked By: Ted    Date: Jan 01    Category: Java    Views: 1109
  

I am using the following code in my servlet to get the client's IP address.
req.getRemoteAddr()

It is working well with 2000 and XP clients where as with Vista clients I am getting the IP address as "fe80:0:0:0:591d:dea:2c03:7e79" (IPv6 address). How to get the actual IP address (IPv4) from vista clients. Anybody please help me.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on How to read vista client's IP address from servlet Or get search suggestion and latest updates.




Tagged: