<div>hi,</div>
<div>&nbsp;</div>
<div>First of all my sincere thanks.</div>
<div>&nbsp;</div>
<div>Error Log Entry : [2007/12/27 10:44:07 [error] 2625#0: *7 connect() failed&nbsp;(111: Connection refused) while connecting to upstream, client:&nbsp;<a href="http://192.168.0.234">192.168.0.234</a>, server: localhost, request: &quot;GET&nbsp;/KdocProj/dboard.html?_dc=1198726407859 HTTP/1.0&quot;, upstream: &quot;&nbsp;
<a href="http://192.168.0.241:8080/KdocProj/dboard.html?_dc=1198726407859">http://192.168.0.241:8080/KdocProj/dboard.html?_dc=1198726407859</a>&quot;, host: &quot;&nbsp;<a href="http://192.168.0.241:8000">192.168.0.241:8000</a>
&quot;]</div>
<div>&nbsp;</div>
<div>Let me explain a few things.</div>
<div>&nbsp;</div>
<div>The machine where I am testing the hosting is <a href="http://192.168.0.241">192.168.0.241</a>.</div>
<div>nginx is hosted on port 8000 and jetty on 8080 on the same machine mentioned above.</div>
<div>&nbsp;</div>
<div>There is a statement in the error log like : &quot;while connecting to upstream, client:&nbsp;<a href="http://192.168.0.234">192.168.0.234</a>,&quot;, please note that <a href="http://192.168.0.234">192.168.0.234</a> is the local proxy server for internet access. So, what i think happening here is that nginx is trying to access the local jetty server via proxy.
</div>
<div>&nbsp;</div>
<div>For Igor:</div>
<div>&gt;&gt;&gt;&gt;The &quot;Connection refused&quot; usually means that backend does not listen<br>on <a href="http://192.168.0.241:8080">192.168.0.241:8080</a> or its listen queue is full: it can not handle all<br>requests.
</div>
<div>&nbsp;</div>
<div>I am the only one testing this implementation. So, I dont think the listen queue is full and also I made sure that jetty is listening on port 8080.</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>Rakesh.</div>
<div>&nbsp;</div>
<div>PS: I appreciate for your quick reply. Frankly I haven&#39;t hoped for such quick reply. Hope you do well in the future.</div>
<div><br><br>&nbsp;</div>
<div class="gmail_quote">On Dec 27, 2007 10:00 PM, Aleksandar Lazic &lt;<a href="mailto:al-nginx@none.at">al-nginx@none.at</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br>
<div class="Ih2E3d"><br>On Don 27.12.2007 20:50, just starting wrote:<br>&gt;hi,<br>&gt;<br>&gt;I am using version 0.5.34.<br>&gt;<br>&gt;I am testing nginx as a proxy server + static file server for my test<br>&gt;site deployed on jetty.
<br>&gt;<br>&gt;Can you please explain the error mentioned here.<br>&gt;<br>&gt;Error Log Entry : [2007/12/27 10:44:07 [error] 2625#0: *7 connect() failed<br>&gt;(111: Connection refused) while connecting to upstream, client:
<br><br></div>Which clearly say:<br><br>the connection to <a href="http://192.168.0.241/" target="_blank">192.168.0.241</a> on port 8080 with protocol http was not<br>successful.<br><br>What is in the jetty log?<br>Are you able to reach jetty with curl, curl -v
<br><a href="http://192.168.0.241:8080/" target="_blank">http://192.168.0.241:8080/</a> ?<br>Is a FW between nginx &amp; jetty?<br>
<div class="Ih2E3d"><br>&gt;<a href="http://192.168.0.234/" target="_blank">192.168.0.234</a>, server: localhost, request: &quot;GET<br>&gt;/KdocProj/dboard.html?_dc=1198726407859 HTTP/1.0&quot;, upstream: &quot;<br>&gt;
<a href="http://192.168.0.241:8080/KdocProj/dboard.html?_dc=1198726407859" target="_blank">http://192.168.0.241:8080/KdocProj/dboard.html?_dc=1198726407859</a>&quot;, host: &quot;<br>&gt;<a href="http://192.168.0.241:8000/" target="_blank">
192.168.0.241:8000</a>&quot;]<br><br></div>Cheers<br><br>Aleks<br><br></blockquote></div><br>