[thelist] change apache port on linux

Hassan Schroeder hassan at webtuitive.com
Sun Aug 15 12:13:01 CDT 2004


Joel D Canfield wrote:
> I want to be able to connect to the web server on my linux box from
> outside my network. My router sends all port 80 traffic to my Windows
> web server. I'd like to have it send another port to the linux box's IP.
> 
> The apache docs seem to say that the default port for apache is 8080 

No, default is the standard port 80

> but trying to connect to the machine across my network thus
>
>   http://orkney:8080
> 
> results in an error, even if I explicitly add 'Listen 8080' to
> httpd.conf.

Uh, a bit of missing info here --

What version of Apache, what error? Can you see that the httpd
process actually started up?

Have you run `apache -t` and `apache -S` to check your httpd.conf?

And, not knowing what Linux distro you're running, I'd still guess
you need to explicitly allow access to port 8080 through iptables.

A little scattershot, but HTH! :-)

-- 
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.




More information about the thelist mailing list