Hey all,
It seems like if I do ftpSession.getClientAddress().toString() in an
Ftplet methods (onLogin, etc.), it won't get the actual user's address
for me. I'm wondering if that is because of NATs/Firewalls/etc., or if
it's a bug? It seems to get the last address the "hop" came from,
rather than the original origin.
On the side note, if I do ftpSessoin.getHostAddress().toString(),
it'll get the internal IP, rather than the external IP address that
the user used to ftp to that machine. Is that also behaving the way
it's supposed to work?
Thanks!
Koichi
- Question about getting client's address Koichi Tsunoda
-