[Zope3-Users] how to know which port zope is runnning on?

Shailesh Kumar shaileshk at gmail.com
Tue Nov 28 09:07:34 EST 2006


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 <tom at lalisio.com> 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 at zope.org
> > http://mail.zope.org/mailman/listinfo/zope3-users
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope3-users/attachments/20061128/e2ea9c4a/attachment.htm


More information about the Zope3-users mailing list