[Leaf-user] httpd port in DS
Hello everyone, I can't figure out why httpd won't work on it's native port 80. I've managed to make it work on port 81 and on any other available port as long as it's not 80. I find it a bit odd to to include the port number along with the address when accessing web pages on my DS box. And I also do not wish to change my browser's default port settings juts to make this work. Upon viewing the /etc/services file, it clearly indicates that port 80 is indeed accounted for WWW http: www80/tcphttp#World Wide Web HTTP www80/udp #Hypertext transfer protocol I just can't figure out why httpd can't/won't use port 80. Any hints to those who may have encountered the same problem is greately appreciated. TIA! ___ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
Re: [Leaf-user] httpd port in DS
To get anything more than guesses, you'll have to tell us what won't work and can't/won't use port 80 mean. Details like whether you are accessing from the external interface or the internal one, and whether you are talking about port forwarding to an internal server or running the weblet (or some other httpd server) on the router itself. As for the guesses ... some ISPs block incoming traffic to port 80 (to enforce no server policies for home accounts, or for security reasons ... or maybe just to keep the traffic up on troubleshooting lists), requiring off-LAN Web servers to use a non-standard port. At 02:12 AM 3/11/02 +0800, Vic Berdin wrote: Hello everyone, I can't figure out why httpd won't work on it's native port 80. I've managed to make it work on port 81 and on any other available port as long as it's not 80. I find it a bit odd to to include the port number along with the address when accessing web pages on my DS box. And I also do not wish to change my browser's default port settings juts to make this work. Upon viewing the /etc/services file, it clearly indicates that port 80 is indeed accounted for WWW http: www80/tcphttp#World Wide Web HTTP www80/udp #Hypertext transfer protocol I just can't figure out why httpd can't/won't use port 80. Any hints to those who may have encountered the same problem is greately appreciated. -- Never tell me the odds!--- Ray Olszewski-- Han Solo Palo Alto, CA[EMAIL PROTECTED] ___ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
Re: [Leaf-user] httpd port in DS
Thanks for your reply Ray. I am so sorry for sending such a vague account of my problem. Anyway, here it is. What I meant with can't/won't use port 80 is that the httpd binary won't run if I set the httpd.conf Port setting to 80. Executing httpd manually, having Port variable set to 80 does not result to having httpd processes running in the background. HTTPD daemon simply won't start! But if I set my httpd.conf Port variable to 81 (or other values aside from 80) the daemon launches just fine. It seems that another process is using port 80. I am not using weblet.lrp. Now if I check my /etc/services file, 80 is properly allocated to httpd. My internal clients access my DS web pages simply by typing the box' hostname (or IP number) + assgined port no. (ie: httpd://mydsbox:81/...). I also use a DS customized webmin.lrp package running under a different port no., and also accessible via the same procedure. I've been using this same setup on my old lrp 2.9.8 box and everything runs smoothly. No need to set a different Port value other than the default httpd port 80. TIA! - Original Message - From: Ray Olszewski [EMAIL PROTECTED] To: Vic Berdin [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, March 11, 2002 2:57 AM Subject: Re: [Leaf-user] httpd port in DS To get anything more than guesses, you'll have to tell us what won't work and can't/won't use port 80 mean. Details like whether you are accessing from the external interface or the internal one, and whether you are talking about port forwarding to an internal server or running the weblet (or some other httpd server) on the router itself. As for the guesses ... some ISPs block incoming traffic to port 80 (to enforce no server policies for home accounts, or for security reasons ... or maybe just to keep the traffic up on troubleshooting lists), requiring off-LAN Web servers to use a non-standard port. At 02:12 AM 3/11/02 +0800, Vic Berdin wrote: Hello everyone, I can't figure out why httpd won't work on it's native port 80. I've managed to make it work on port 81 and on any other available port as long as it's not 80. I find it a bit odd to to include the port number along with the address when accessing web pages on my DS box. And I also do not wish to change my browser's default port settings juts to make this work. Upon viewing the /etc/services file, it clearly indicates that port 80 is indeed accounted for WWW http: www80/tcphttp#World Wide Web HTTP www80/udp #Hypertext transfer protocol I just can't figure out why httpd can't/won't use port 80. Any hints to those who may have encountered the same problem is greately appreciated. -- Never tell me the odds!--- Ray Olszewski-- Han Solo Palo Alto, CA[EMAIL PROTECTED] ___ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
Re: [Leaf-user] httpd port in DS
OK. This is much clearer (and, BTW, different from *any* of the interpretations I had thought of for your first message). /etc/services does not assign ports to services; it just tells you want services are *normally* associated with a port. Your guess that something else is already using port 80 is a good one, but since we don't know the details of your setup, we can't actually tell you what that something is. You say ... My internal clients access my DS web pages simply by typing the box' hostname (or IP number) + assgined port no. (ie: httpd://mydsbox:81/...). I also use a DS customized webmin.lrp package running under a different port no., and also accessible via the same procedure. ... at least implying that webmin is not on port 80, so I'm guessing that that is not the culprit. Are you perhaps port forwarding port 80? Or listening to it via inetd? See what netstat -an tells you about this port. See if ps ax turns up any unexpected processes that might be the source of the problem. See what ipmasqadm portfw -l tells you about forwarded ports. Since LRP 2.9.8 uses the 2.0 kernel by default (unless you were using the 2.2.x kernel variant), its routing/firewalling/NATing internals are quite a bit different from Dachstein. And the configuration files are very different from Dachstein in either case. So what looks to you like using this same setup may easily conceal considerable differences. At 03:54 AM 3/11/02 +0800, Vic Berdin wrote: Thanks for your reply Ray. I am so sorry for sending such a vague account of my problem. Anyway, here it is. What I meant with can't/won't use port 80 is that the httpd binary won't run if I set the httpd.conf Port setting to 80. Executing httpd manually, having Port variable set to 80 does not result to having httpd processes running in the background. HTTPD daemon simply won't start! But if I set my httpd.conf Port variable to 81 (or other values aside from 80) the daemon launches just fine. It seems that another process is using port 80. I am not using weblet.lrp. Now if I check my /etc/services file, 80 is properly allocated to httpd. My internal clients access my DS web pages simply by typing the box' hostname (or IP number) + assgined port no. (ie: httpd://mydsbox:81/...). I also use a DS customized webmin.lrp package running under a different port no., and also accessible via the same procedure. I've been using this same setup on my old lrp 2.9.8 box and everything runs smoothly. No need to set a different Port value other than the default httpd port 80. [old stuff deleted] -- Never tell me the odds!--- Ray Olszewski-- Han Solo Palo Alto, CA[EMAIL PROTECTED] ___ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
Re: [Leaf-user] httpd port in DS
Hi Vic, I think in /etc/inetd.conf is an entry to start the weblet script. Have look at it and comment it if necessary. Manfred Vic Berdin schrieb: Hello everyone, I can't figure out why httpd won't work on it's native port 80. I've managed to make it work on port 81 and on any other available port as long as it's not 80. I find it a bit odd to to include the port number along with the address when accessing web pages on my DS box. And I also do not wish to change my browser's default port settings juts to make this work. Upon viewing the /etc/services file, it clearly indicates that port 80 is indeed accounted for WWW http: www80/tcphttp#World Wide Web HTTP www80/udp #Hypertext transfer protocol I just can't figure out why httpd can't/won't use port 80. Any hints to those who may have encountered the same problem is greately appreciated. TIA! ___ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user -- Manfred Schuler E_Mail: mailto:[EMAIL PROTECTED] ___ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
Re: [Leaf-user] httpd port in DS
Indeed it its. I already commented out the line as hinted out by Ray. I kept on thanking you guys, and forgetting to cc the list. It's OK now. Works perfectly! Thanks again. - Original Message - From: Manfred Schuler [EMAIL PROTECTED] To: Vic Berdin [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 11, 2002 11:42 AM Subject: Re: [Leaf-user] httpd port in DS Hi Vic, I think in /etc/inetd.conf is an entry to start the weblet script. Have look at it and comment it if necessary. Manfred Vic Berdin schrieb: Hello everyone, I can't figure out why httpd won't work on it's native port 80. I've managed to make it work on port 81 and on any other available port as long as it's not 80. I find it a bit odd to to include the port number along with the address when accessing web pages on my DS box. And I also do not wish to change my browser's default port settings juts to make this work. Upon viewing the /etc/services file, it clearly indicates that port 80 is indeed accounted for WWW http: www80/tcphttp#World Wide Web HTTP www80/udp #Hypertext transfer protocol I just can't figure out why httpd can't/won't use port 80. Any hints to those who may have encountered the same problem is greately appreciated. TIA! ___ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user -- Manfred Schuler E_Mail: mailto:[EMAIL PROTECTED] ___ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user