Thanx Tom,  but I was looking for the general case, not in the context of a
request. Like say during application startup I want to know the port number.
Is it possible?

With regards,

On 11/28/06, Tom Gross <[EMAIL PROTECTED]> wrote:

Hi Shailesh,

   try request.get('SERVER_PORT').


Shailesh Kumar wrote:
> Hi,
> Is it possible for the application code to figure out the port number
> on which zope is running? What is the suitable api for that?
> With regards,
> -shailesh
> ------------------------------------------------------------------------
> _______________________________________________
> Zope3-users mailing list

Zope3-users mailing list

Reply via email to