Title: Message
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