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