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,


Answers were Sorted based on User's Feedback



This is very strange. I am running apache 2.2 (compiled with gcc and all default params) on AI..

Answer / 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

This is very strange. I am running apache 2.2 (compiled with gcc and all default params) on AI..

Answer / sagi

try setting environment flag:
ac_cv_o_nonblock_inherited=no
just before running configure...

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Interview Questions

Can apache and tomcat run together?

0 Answers  


How do I disable directory indexing?

0 Answers  


How to ensure web server is getting started after server reboot?

0 Answers  


Why apache server is used?

0 Answers  


How to install apache?

0 Answers  






What we can do to find out how people are reaching your site?

0 Answers  


Briefly explain apache web server?

0 Answers  


How to check the version of running apache web server?

0 Answers  


What is the default port for http and https?

0 Answers  


How do I start apache server?

0 Answers  


What is the servertype directive?

0 Answers  


How can we find what are the modules loaded in apache?

0 Answers  


Categories