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

What are feature of apache?

0 Answers  


Can I serve content out of a directory other than the documentroot directory?

0 Answers  


How to ensure apache listen on only one ip address on the server?

0 Answers  


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

0 Answers  


Does google use apache?

0 Answers  






What is apache mpm?

0 Answers  


What’s the major difference between a restart and a graceful restart of a web server such as apache?

0 Answers  


Where is apache web server located in data center location?

0 Answers  


What is apache http server?

0 Answers  


Where is apache installed?

0 Answers  


How do I know if apache server is running windows?

0 Answers  


What is ServerType directive?

1 Answers  


Categories