Ivan,<div><br></div><div>Try to disable SELinux (enforced by default), and re-check your iptables rules.</div><div><br></div><div>Regards,</div><div>Roberto.</div><div><br><br><div class="gmail_quote">2011/12/7 Ivan Martinez <span dir="ltr"><<a href="mailto:ivan.martinez@masterion.com">ivan.martinez@masterion.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u>
<div>
<p>Thank you Roberto,</p>
<p>There is only one server running both services, and if I can browse <a href="http://server:8000" target="_blank">http://server:8000</a> from my local machine, I suppose the telnet works as well.</p><span class="HOEnZb"><font color="#888888">
<p>Ivan</p></font></span><div><div class="h5">
<p>On Wed, 7 Dec 2011 14:43:50 -0300, Roberto O. Fernández Crisial wrote:</p>
<blockquote type="cite" style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px;width:100%">
<p>Ivan,</p>
<div>Have you tried telnet from Varnish server to Zotonic server?</div>
<div>$ telnet zotonic.address 8000</div>
<div>Check if there is any response.</div>
<div>--</div>
<div>Roberto O. Fernández Crisial</div>
<div>@rofc<br><br>
<div class="gmail_quote">On Wed, Dec 7, 2011 at 1:52 PM, Ivan Martinez <span><<a href="mailto:ivan.martinez@masterion.com" target="_blank">ivan.martinez@masterion.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br> In a CentOS 6 server, I'm running Varnish in port 80 serving pages from a Zotonic site in port 8000. It works fine when I leave all the ports open. However, if I close all ports from 0 to 631 and explicitly open 80 and 8000, the following happens:<br>
<br> - I can see the website in server:8000.<br> - In server:80, I get the following after some seconds:<br><br> Error 503 Service Unavailable<br><br> Service Unavailable<br> Guru Meditation:<br><br> XID: 544990083<br><br>
 Varnish cache server<br><br> I have read about the sysctl issues with firewalls but it seems I have it right:<br><br> [root@server ivanmr]# sysctl -A | grep tw<br> net.ipv4.tcp_max_tw_buckets = 2048<br> net.ipv4.tcp_tw_recycle = 0<br>
 net.ipv4.tcp_tw_reuse = 0<br><br> varnish.log is empty. What can be the problem?. Thank you.<br><br> Ivan<br><br> ______________________________<span style="text-decoration:underline"></span>_________________<br> varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br><a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/<span style="text-decoration:underline"></span>lists/mailman/listinfo/<span style="text-decoration:underline"></span>varnish-misc</a></blockquote>

</div>
</div>
</blockquote>
<div> </div>
</div></div></div>
</blockquote></div><br></div>