This is very strange.

I am running apache 2.2 (compiled with gcc and all default
params) on
AIX 5.2.0.6 - 64 bit kernel.

I edit the httpd.conf file to listen on two different
ports --

Listen 8000
Listen 8001

The server will not start no errors or anything it just
accepts the
command but nothing starts.

I can comment out on of the entires and everything starts
up just fine
minus the commented out port.

Listen 8000
#Listen 8001

So, my problem is that I cannot get apache to listen on two
ports, any
ideas? Has someone else seen this before?

Thanks,


Answer Posted / vamsee

apache is a server.we can run each server in unique listen
port so we are unable to run same server in two different
ports.but u can run on different unique ports.
in apache webserver u change that in httpd.conf listen
port to 8080 (default is 80).that listen port belongs to
http port for reciving requests and send responces.so
please try to understand that which port belongs to which
one.

thank you.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you kill the apache process if graceful stop doesn’t work?

635


I am configuring APACHE Server on SOLARIS-10. I am having some problem while configuring the httpd.conf. Can any one help me to find out the root directory of APACHE server. How can I publish my website through it?

2311


What is the latest version of apache web server?

716


How does Apache compared to other servers?

1772


Does google use apache?

693






What is apache used for?

616


When did ubuntu switch to systemd?

637


What are the various types of virtual hosts in apache?

634


How to verify httpd.conf file to ensure no configuration syntax error?

661


What is the difference between service and systemctl?

605


What is a Command to restart/start apache web server?

635


Is apache an operating system?

652


Does ubuntu use systemd?

704


On which port apache server works?

624


Is apache single threaded?

645