Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have found I can no longer access my home server website externally and internally. I can ftp the directory and html pages, access the site using putty every thing is fine. When I type in 'sudo nmap -p 80 192.168.1.3' to check the port I am told
PORT STATE SERVICE
80/tcp closed http
so I assume that a firewall somewhere on my server is blocking port 80 but I don't seem to be able to find where this is occurring.
I have checked related posts in this forum but none seem to help.
WHat changed, good question, I am not sure I am using Ubuntu server software I have been updating regularly myself. its using a shorewall firewall and I put in
'ACCEPT net $FW tcp 80' in to the rules file.
I've checked the iptables and have put in
ACCEPT tcp -- anywhere anywhere tcp dpt:www
but still no luck when I check the port.
Hi Forrestt, If you turn off both firewalls, can you connect?
I turned of shorewall and checked port80 - still blocked
I don't know how to turn of the other firewall you refer to.
I did try 'sudo iptables -F' to flush out the iptables all that did is hang the server requiring a reboot.
Is you web server running?
yes it is running I can connect using putty and mozilla ftp. I can look into the www directory. Start the index.html file using knome on the server so all is fine except for the port being closed.
Is it listening on the external IP?
I put 'Listen 80' in the httpd.conf file.
Can you get to it by IP from the server?
not sure what you mean here.
I am just blundering through here so sorry if I don't always understand how things are done.
Sorry, I didn't mean was the hardware running, I meant was the httpd running. You can connect with putty (sshd is running) and ftp (ftpd is running) without being able to connect to the web server (httpd is NOT running). By "Can you get to it by IP from the server?" I mean, if you go to the server console, open up firefox and type in the IP address of the server, do you get a page?
I tried to look in the /var/log/httpd directory but I don't have one.
I did look in var/log/ directory
I then tried to connect to the webserver and checked the logs that updated when I tried to look at the web page but couldn't see anything of relevance with my limited understanding.
refering to your comment to jaymarting forrestt about turning the firewalls off I turned off shorewall but I don't know what others to turn off.