GET request with HTTP to port 80 results in connection reset or no response from server
<p>I have a strange issue that the SSL connection for port 443 on my server is working fine, but when I look for the HTTP variant of my server it gives me the 'Site can't be reached connection was reset' error.</p>

<p>I have the following rules in my iptables:</p>

<pre><code>-A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT
</code></pre>

<p>The apache access_log does show an incomming request when requesting the site via HTTP, and the error_log does not show any errors</p>

<p>In my httpd.conf file I have:</p>

<pre><code>Listen 80
</code></pre>

<p>My intention was to let all traffic go via HTTPS, so I have</p>

<pre><code>&lt;VirtualHost *:80&gt;
    ServerName www.example.com
    Redirect / https://www.example.com
&lt;/VirtualHost&gt;
</code></pre>

<p>However, it does not matter if I place this last block here or comment it - the server is not reachable via HTTP. I am on CentOS 6.7.</p>

<p>Edit:</p>

<p>When I do <code>curl http://example.com</code>, it returns <code>cURL (52) Empty reply from server</code></p>

<p>However, when I check the apache http access_log for that cURL request, it returns</p>

<pre><code>xxx.xxx.xxx.xx - - [02/Jun/2016:22:46:06 +0200] "GET / HTTP/1.1" 302 314 "-" 
</code></pre>

<p>Which indicates that I should have received a HTTP response status 302 Found code as intended. However, I received nothing. </p>

<p>Any help or suggestions are welcome</p>