LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   New slackware 11 install, cannot access port 80 (http://www.linuxquestions.org/questions/linux-networking-3/new-slackware-11-install-cannot-access-port-80-a-495240/)

spy_X 10-24-2006 05:44 PM

New slackware 11 install, cannot access port 80
 
Hey,

I just installed slackware 11, i cannot access port 80 from outside my network. The port was working fine, passing thru my dlink router to a Ubuntu box. I have open up some of the other ports from the inetd.conf, and apache.conf is using port 80. I did a scan from outsite my network and getting this:

Tue, 24 Oct 2006 15:30:34 -0700

The host xx.xx.xxx.xxx has a service running on port 21 (ftp).
The host xx.xx.xxx.xxx has a service running on port 23 (telnet).
The host xx.xx.xxx.xxx has a service running on port 110 (pop3).

The host xx.xx.xxx.xxx does not have a service running on port 53 (domain).
The host xx.xx.xxx.xxx does not have a service running on port 80 (http).
The host xx.xx.xxx.xxx does not have a service running on port 139 (netbios-ssn).

im not sure if i am missing something with in a slackware conf file. http is not listed in
the inetd.conf file. is it something i need to add to it?

Thanks in advance for anyone that can help.
--dave

MS3FGX 10-24-2006 05:49 PM

Are you saying you actually want to run a webserver on the Slackware machine?

Is Apache installed? Apache is not started from inetd.conf, by the way, but from /etc/rc.d/rc.httpd.

spy_X 10-24-2006 05:56 PM

Yes it is running, I can see the "Hey it worked" test page. I can access it via a browser typing the 192.xxx.x.xxx IP or the 72.xxx.xx.xxx IP that is in my router from my ISP from pc's on the network here. Its just if i get on another pc, or dial up via wireless pc-card outside the network, i cannot access port 80, and I can access port 21 and port 23 from outside just fine.

MS3FGX 10-24-2006 06:02 PM

I assume you have checked if the IP has changed since you forwarded the port on the router?

You are saying that you can only see the page on the local machine, not from a computer on the LAN either? Are you sure that no firewall is running on the Slackware machine?

Does this command show anything:

iptables -L

spy_X 10-24-2006 06:08 PM

I have 2 windows pc, and 1 linux and now the slackbox. all 4 can view the test page just fine with in the internal side of the router. Yes i have verifyed and am using the correct IP. I have no experince with iptables, if this is the problem, that i will need to read up on it.

Here is the output:

root@capone:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

MS3FGX 10-24-2006 06:16 PM

That output is fine, it shows that no firewalling is going on.

Are ports 21 and 23 forwarded to this Slackware machine as well, or do they go to a different machine?

spy_X 10-24-2006 06:22 PM

Same machine. It just wierd, Having not use slackware in years, I am just not sure if something is blocking it. I will pull out the forwarding in the router and re-boot and add it back. I do appreciate the help!! ;)

MS3FGX 10-24-2006 06:27 PM

Perhaps it is something in the Apache configuration then, which is not allowing remote requests. I have only installed Apache twice myself though, so I am not up on it's configuration options.

spy_X 10-24-2006 06:38 PM

Ok kewl... i'll do some checking again in the apache config file. Thanks for the help!!


All times are GMT -5. The time now is 07:03 AM.