Title: Message
Also, if the communication network used between your client(s) and you server is a public one with a firewall/gateway (w/ NAT) on the client side, then I believe you can't distinguish between two different clients on that side.
-----Original Message-----
From: Hansen, Richard [mailto:[EMAIL PROTECTED]
Sent: lundi 18 ao�t 2003 18:41
To: '[EMAIL PROTECTED]'
Subject: RE: Get Client Port

It can only come in on the port the web server accepts HTTP requests on.
-----Original Message-----
From: Fabien Guillaume [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 9:22 AM
To: [EMAIL PROTECTED]
Subject: Get Client Port

Hello,
 
I am trying to collect information about the computer which called my web service.
To know the IP address, I use
 
remote_ip_address = ((javax.servlet.http.HttpServletRequest)mc.getProperty(org.apache.axis.transport.http.HTTPConstants.MC_HTTP_SERVLETREQUEST)).getRemoteAddr();
 
This works, but I also would like to know the port number where the call is coming from. Is it possible?
I am guessing that the couple IP_address/Port is unique, so that I can better read the log file I am populating. But does a better identification method exist (so that I can distinguish WS calls between them)?
 
Thanks in advance,
 
Fabien

Reply via email to