<div>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? </div>
<div> </div>
<div>With regards,</div>
<div>-shailesh</div>
<div><br><br> </div>
<div><span class="gmail_quote">On 11/28/06, <b class="gmail_sendername">Tom Gross</b> <<a href="mailto:tom@lalisio.com">tom@lalisio.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Shailesh,<br><br> try request.get('SERVER_PORT').<br><br>Cheers<br>-Tom<br><br>Shailesh Kumar wrote:<br>
> Hi,<br>><br>> Is it possible for the application code to figure out the port number<br>> on which zope is running? What is the suitable api for that?<br>><br>> With regards,<br>> -shailesh<br>><br>
> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> Zope3-users mailing list<br>> <a href="mailto:Zope3-users@zope.org">
Zope3-users@zope.org</a><br>> <a href="http://mail.zope.org/mailman/listinfo/zope3-users">http://mail.zope.org/mailman/listinfo/zope3-users</a><br>><br><br></blockquote></div><br>