[CentOS] CentOS automatically blocks port 80 out-of-the-box

Tue Apr 7 23:53:40 UTC 2009
David Lemcoe <forum at lemcoe.com>

Thank you for the reply. I think it's "server", and even though I
select that, it is still blocked.

I mentioned being able to ping it because I thought it was a NIC
problem or something, because apache didn't work when I started it.

Thanks agin for the reply!

On 4/7/09, Michael A. Peters <mpeters at mac.com> wrote:
> David M Lemcoe Jr. wrote:
>> Maybe I just haven't installed enough distros, but the times I've
>> installed CentOS, I've had to remember that by default, iptables is
>> blocking inbound port 80 requests. This leads me to believe that I have a
>> non-OS firewall error because I can ping but not http request.
>>
>> Is there a particular reason for this? Or is it a fail on my end?
>
> Very few ports are open out of the box.
> I'm not sure, but I think if you choose the webserver (or is it server
> ??) option at install it might have port 80 open.
>
> Port 22 is open for ssh. I think 631 (cups) is as well, but not positive.
>
> You can configure the firewall with system-config-securitylevel-tui
> after install (it runs during firstboot as well) where you can easily
> tell it to turn on port 80 (and/or 443) for web services.
>
> pinging a box has nothing to do with ports are blocked, open, or closed.
> You can filter pings but I don't believe the firewall does by default.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>