[Zope3-Users] how to know which port zope is runnning on?
shaileshk at gmail.com
Wed Nov 29 05:57:53 EST 2006
I have 2 different zope applications running (on different machines) and
they would be talking to each other, one is a master application and there
may be multiple instances of the other one (on different machines). I need
the port number information for registing one with another programmatically.
don't want to fix port numbers for them.
Looking at the zope code I found that from
zope.app.server.servertype.IServerType utilities, default port number is
seen which gets overriden during the create() function call, but the
overriden port number (obtained from zope.conf) is not available as such (I
couldn't figure out how it can be accessible). Probably I can get it by
parsing zope.conf again in my code.
On 11/29/06, Chris Withers <chris at simplistix.co.uk> wrote:
> Shailesh Kumar wrote:
> > Thanx for the hint. I still don't know how to programmatically access
> > event log. will try to figure it out.
> Why do you need to know programmatically?
> Simplistix - Content Management, Zope & Python Consulting
> - http://www.simplistix.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Zope3-users