Results 1 to 5 of 5
Thread: get client ip
- 11-05-2009, 01:02 AM #1
Member
- Join Date
- Oct 2009
- Posts
- 9
- Rep Power
- 0
- 11-05-2009, 01:31 AM #2
- 11-05-2009, 03:59 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
In ServletRequest I'm using following, able collect lots of details.
getRemoteAddr()
getRemoteHost()
getRemotePort()
Client can be end client or the proxy.
- 11-06-2009, 08:32 PM #4
Member
- Join Date
- Nov 2009
- Posts
- 1
- Rep Power
- 0
borrowing the thread a little, have somewhat the same problem. But the difference is that i dont want my local IP on the computer but instead the IP that i ISP delivers to me, been searching around for quite some time and haven't found anything :/. Anyone know any good way to get it?
- 11-07-2009, 04:12 PM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
How about capturing the response of netstat -n within your application on Windows. In Mac OS, you can find those details in System Preference, and I couldn't remember the direct way to access it.
Similar Threads
-
how to send a file from server to client and client saves the file?
By KoolCancer in forum New To JavaReplies: 3Last Post: 07-29-2009, 04:52 AM -
client app
By santhu538 in forum New To JavaReplies: 1Last Post: 02-28-2009, 06:54 AM -
Datagram Client and Server, client timer question
By saru88 in forum NetworkingReplies: 1Last Post: 10-05-2008, 03:12 PM -
UDP Client help
By misslilbit02 in forum Advanced JavaReplies: 0Last Post: 03-09-2008, 07:31 PM -
Identify Client in Socket Client Server Application
By masadjie in forum NetworkingReplies: 1Last Post: 12-20-2007, 09:18 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks