<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 style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961);"><br></span></font></div><div><font size="2"><span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961);">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 style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961);"><br></span></font></div><div><font size="2"><span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961);">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><br>On Saturday, February 13, 2016, Mike Jones <<a href="mailto:michaeljones401@gmail.com">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><br><br>-- <br>Sorry I fat thumbed this on an iPhone <br>