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,
-shailesh



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

Hi Shailesh,

   try request.get('SERVER_PORT').

Cheers
-Tom

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@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
>


_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to