Web Hosting Talk







View Full Version : Apache will only work using port 80


JDF
01-19-2002, 11:07 PM
I'm trying to run a personal web site from home and am having some troubles. First off, my ISP ( @home ) has restricted incoming traffic to port 80 due to the Code Red worm. I'm trying to figure out a way around this and it should be as easy as changing the port, however whenever I do so, Apache will not work. According to 'netstat -a' the server is running normally.. "listening" on the new port. Firewall has been disable to no avail, and I can't find anything in httpd.conf that would be preventing me from using ports other than 80.. any suggestions?

Palm
01-19-2002, 11:35 PM
Put "Listen Port_number"

Basically it should look something like this:

Listen 8080

You'd have to specify it in the IP address or domain:

http://141.155.1.10:8080/ http://blah.org:8080/

onthecatwalk
01-20-2002, 12:21 PM
chances are that your provider had an IP Filter on thier system which is only allowing the www, SMTP, POP or IMAP, DNS, and a few otheres....some providers have a no server policy and will block port 80, and seeing as port 80 is the default, there are probably 100 different things that need to be changed, as fas as I remember port 80 has to be used for that, but make sure that your ISP has no IP filtering system, and that they have a no server policy. :)

bombino
01-21-2002, 10:49 PM
Find the line in your httpd.conf that says "Port 80" and change that to "Port 81" or any other port that you want to use!

JDF
01-22-2002, 12:58 AM
Originally posted by bombino
Find the line in your httpd.conf that says "Port 80" and change that to "Port 81" or any other port that you want to use!

It doesn't work at all when I do that.. tried to say that in my original post but as I look at it again I didn't do a very good job. When I change the Port in httpd.conf, it acts like DNS doesn't even resolve right.. sends me to Yahoo! like I searched for my domain which I don't understand. Anyone make anything of that? The Listen trick Palm posted makes no difference, still can't access it outside of my own computer.

onthecatwalk.. I don't quite understand what you're saying. Do you mean that they might block all ports except for the ones needed for the listed services to do their thing? Seems pretty restrictive.. Anyway, I obviously still haven't figured it out but I'm not terribly worried about it. But if you have any suggestions please do post.

Justin

onthecatwalk
01-22-2002, 01:06 AM
As working for a television station under Time Warner I got to work in the broadband center alot and my understanding of the service provides is...

to control access to there system they limit the ports...every port number does a different task...80 is the HTTP port which allows people to access web sites...changing your port number will not work because of the setup of the network....they are probably enabling some sort of IP filtering system (which I use) that closes all the ports except the ones that are used for Mail in,mail out, Chat, DNS info, and whateve else they might need...so if port 80 is turned off than there is nothing you can do. They basically control that...some ISP's have systems in place that do not allow servers to function on their service at all.

But in order to change a port it must be changed on their end as well. So that may not work...suggestion, contact your ISP and tell them that you need that port, they can enable it for one connection, but they may not if they have a no server policy.

Did that make sense?:confused:

bombino
01-22-2002, 07:03 PM
Are you using http://your.ip.here:newport/ (ex. http://66.32.0.82:81/)in Internet Explorer? If you dont specify the port to use, IE will assume port 80.