Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey all, I'm trying to set up a basic webserver here as a project, and mirrored an old site of mine to hard drive, installed Apache 1.3.28 and edited my httpd.conf file to how it should look.
Listening on port 80, pointing to the right Document directory, etc.
httpd starts without a problem, but when I or a friend try to access it, connection always times out.
is the address that should be working.
I have it set up through dyndns and I've verified that the router responds to pings, etc from the domain name.
Help?
I've already set up my FreeSco router to forward ports 80, 8080, and 8000 to port 80 on my linux box, ip 192.168.1.10 NAT'd behind the router.
I did that to determine whether my ISP might have been blocking requests on port 80.
according to that, all three 8000 8080 and 80 should forward to port 80 on my machine...
Looks like my isp doesn't want me running a webserver and blocked port 80.
Any other things it could be?
-Shade
I ahve had a similar problem with my ADSL router. Could it be that your Router has an internal webserver (to configure the device) that works on port 80. Whenever you try to connect to your website, it actually goes to port 80, which is the router webserver.
I solved it through forcing my 'router webserver' to work on another port (in my case 82). Another way is to setup your httpd to use port 81 and leave the router on port 80.
"Thank you for your email. I understand you're inquiring if Cox block
incoming port 80 requests. To protect our customers, certain ports
are filtered and port 80 is one of them. And by doing so, we can
protect them from certain common worms and protect them from running
dangerous services on their computers that could allow intruders
access."
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
No, it's no different. Your problem is that you need to setup a port redirect externally. Some dynamic DNS providers will do this (I have no idea how). Normally when people type in http://www.google.com in their browser it goes to port 80 on google's IP address.
In your case with http://mshade.kicks-ass.net it will use port 80 since that's the reserved port for http. Basically when a browser sees the "http" part it interprets that as "port 80". Likewise if someone types in "https" that will be translated to "port 443". Since your ISP is being "helpful" and blocking those ports, you must use a different port for your webserver.
That means any time you post a link on the Internet to your website it must be http://mshade.kicks-ass.net:81 or something like that. You'll always have to specify the port, because otherwise the browser will automatically go to 80 and that's blocked.
The only way around it is to setup an external port redirect so that before they connect to your website, port 80 is changed to port 81. Like I said, I think some dynamic DNS providers can do this. The alternative is to cancle your contract with that crappy ISP and get a DSL connection (or a different ISP) that does allow inbound connections to port 80. Before you switch to a new ISP, make sure to ask them if they block any ports coming in. I have speakeasy.net and they actually advertise as being "server friendly". They don't block any ports, which is fantastic.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.