I downloaded Apache HTTP server, compiled it and installed it in a unix box.
I tried to start my Apache HTTP server in unix but got the below error so I thought of changing the port.
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down
I tried to change the listening port for my Apache HTTP server in UNIX by modifying the httpd.conf file (present under conf directory) but this doesn't seem to have any effect when I restart my server.
# # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the <VirtualHost> # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses (0.0.0.0) # #Listen 22.214.171.124:80 Listen 82
I tried changing the port number to a value greater than 1024 (non privileged port numbers) but I am getting the same error as above(error still list port 80).
I am using httpd for starting the server. I even tried starting using the below command but I am still getting the same error..
apachectl -f ./conf/httpd.conf
Am I missing something?