I am running httpd on CentOS 6.6. I've successfully set up a site on port 80, but now I wish to have the site on port 82, so when I type <myip>:82
in my browser I can view the site but not <myip>:80
or <myip>
.
In my httpd.conf
file I've changed Listen 192.168.1.18:80
to Listen 192.168.1.18:82
, and I've forwarded port 82 on my router. But when I try to restart the process it gives the following error:
(13)Permission denied: make_sock: could not bind to address 192.168.1.18:82
no listening sockets available, shutting down
Do I have to change the port to 82 anywhere else in http.conf
or somewhere else? Everything works fine on port 80. Sorry if I'm not being clear enough, I'll clarify more info if needed.