cancel
Showing results for 
Search instead for 
Did you mean: 

Apache port number

SOLVED
Go to solution
monu_1
Regular Advisor

Apache port number

HI all,

I want to know on which port apache works by default.Is it 80 or 8080 or something else.


Thanks
MKS
3 REPLIES
Stuart Browne
Honored Contributor
Solution

Re: Apache port number

By default, the web server runs on port 80.

This is for Apache or any other web server.

On a Linux box, you can check this on a running system by using either 'lsof' or 'netstat'.

The configuration will have a 'Listen' line in it to say which ports Apache is listening on too.

'8080' is the defacto port for a proxy-cache (3128 is the usual default however).
One long-haired git at your service...
Steven E. Protter
Exalted Contributor

Re: Apache port number

Shalom,

Its 80.

but you can change it to anything you want in httpd.conf

Listen :80 can be changed.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
monu_1
Regular Advisor

Re: Apache port number

Thanks to all
Thread closed