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 is the typical log file size per 10k requests in an apache web server?

0 Answers  


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,

2 Answers  


What does htpasswd do?

6 Answers  


Is apache server free?

0 Answers  


What is systemctl used for?

0 Answers  






Where is apache installed windows?

0 Answers  


Why apache server is used?

0 Answers  


Where is apache configuration file?

0 Answers  


How does systemd work?

0 Answers  


How does apache work?

0 Answers  


What is apache web server in linux?

0 Answers  


Where is apache installed?

0 Answers  


Categories