Hi
i am trying to get the ip address of client machine and also its name. I found to get IP address but not the name of it when running on
tomcat server. Following the code i tried
out put: this out put for the request made from the system in which the server is running (i.e., local host)
remote adress::0:0:0:0:0:0:0:1
inet address::0:0:0:0:0:0:0:1
comp name::KIHYDD0818
out put: this is out put for remote system request
remote adress::172.20.129.39
inet address::172.20.129.39
comp name::KIHYDD0818
see clearly i am able to get the ip address of remote system i.e., 172.20.129.39 but the name is same as local host. Here i think
will always return the name of local host. but i need the name of remote system. please suggest me