title: apache not accepting incoming connections from outside of localhost
body: <p>I've booted up a CentOS server on rackspace and executed <code>yum install httpd</code>'d. Then <code>services httpd start</code>. So, just the barebones.</p>
  
  <p>I can access its IP address remotely over ssh (22) no problem, so there's no problem with the DNS or anything (I think...), but when I try to connect on port 80 (via a browser or something) I get connection refused. </p>
  
  <p>From localhost, however, I can use telnet (80), or even lynx on itself and get served with no problem. From outside (my house, my school, a local coffee shop, etc...), telnet connects on 22, but not 80. </p>
  
  <p>I use <code>netstat -tulpn</code> (&lt;- I'm not going to lie, I don't understand the <code>-tulpn</code> part, but that's what the internet told me to do...) and see </p>
  
  <pre><code>tcp    0    0 :::80     :::*    LISTEN    -                   
  </code></pre>
  
  <p>as I believe I should. The <code>httpd.conf</code> says <code>Listen 80</code>. </p>
  
  <p>I have <code>services httpd restart</code>'d many a time.</p>
  
  <p>Honestly I have no idea what to do. There is NO way that rackspace has a firewall on incoming port 80 requests. I feel like I'm missing something stupid, but I've booted up a barebones server twice now and have done the absolute minimum to get this functioning thinking I had mucked things up with my tinkering, but neither worked. </p>
  
  <p>Any help is greatly appreciated! (And sorry for the long winded post...)</p>
  
  <p><strong>Edit</strong>
  I was asked to post the output of <code>iptables -L</code>. So here it is:</p>
  
  <pre><code>Chain INPUT (policy ACCEPT)
  target     prot opt source               destination         
  ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
  ACCEPT     icmp --  anywhere             anywhere            
  ACCEPT     all  --  anywhere             anywhere            
  ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh 
  REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited 
  
  Chain FORWARD (policy ACCEPT)
  target     prot opt source               destination         
  REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited 
  
  Chain OUTPUT (policy ACCEPT)
  target     prot opt source               destination   
  </code></pre>