<div dir="ltr">Yes, I was talking about the security group, I did open that but it didn't make any difference.<div><br></div><div>With the settings previously mentioned I tried running curl on port 80 on I get</div><div><br></div><div>curl: (7) Failed to connect to localhost port 80: Connection refused.</div><div><br></div><div>On port 8080 I get the default apache page, but adding a directory after the port 'curl <a href="http://127.0.0.1:8080/wordpress">127.0.0.1:8080/wordpress</a>' I get an error saying the page has moved.</div><div><br></div><div>On port 6082 I get 'Authentication required'</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 13, 2016 at 1:41 PM, Lee Trout <span dir="ltr"><<a href="mailto:lee@leetrout.com" target="_blank">lee@leetrout.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><font size="2"><span style="background-color:rgba(255,255,255,0)">> Do I need to open port 8080 too?</span></font><div><font size="2"><span><br></span></font></div></span><div><font size="2"><span>Open it where? In a security group? You should make sure you have port 80 open in your security group but that won't affect local host. </span></font></div><div><font size="2"><span><br></span></font></div><div><font size="2"><span>You should try curling against the interfaces on the box from the box itself and make sure it's actually sending info back locally. With your config I believe you should be able to curl local host on port 80 as well since you only specified a listening port. <span></span><br></span></font><div><div class="h5"><br>On Saturday, February 13, 2016, Mike Jones <<a href="mailto:michaeljones401@gmail.com" target="_blank">michaeljones401@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I have a single ec2 instance running and would like to install and configure Varnish for that aws instance</div><div><br></div><div>I've changed the default settings for varnish - /etc/sysconfig/varnish</div><div><br></div><div>DAEMON_OPTS="-a :80 \</div><div> -T localhost:6082 \</div><div> -b localhost:8080 \</div><div> -u varnish -g varnish \</div><div> -s file,/var/lib/varnish/varnish_storage.bin,1G"</div><div><br></div><div>and configured httpd - /etc/httpd/conf/httpd.conf to listen on port 8080</div><div><br></div><div>But when I restart both services, the webpage fails to load.</div><div><br></div><div>There's nothing in the error_log and when I tail -f the access_log nothing is logged when I refresh the page.</div><div>Do I need to open port 8080 too?</div><div><br></div><div>Are there any guides on how to configure Varnish for an aws instance?</div><div><br></div><div>Thanks</div></div>
</blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br><br>-- <br>Sorry I fat thumbed this on an iPhone <br>
</font></span></blockquote></div><br></div>