Error when running Apache on any other port than 80?
I want to run Apache2 on any other port than 80, let's say 7777. This is what I got.
---- Starting httpd: (13)Permission denied: make_sock: could not bind to address 192.168.1.254:7777 no listening sockets available, shutting down Unable to open logs ---- There is nothing on port 7777. OS is Centos 4.4 Any ideas? Thx!! |
make_sock: could not bind to address 192.168.1.254:7777
You host has *not* address 192.168.1.254 perhaps? |
Quote:
|
Quote:
|
Address is 192.168.1.254. It's my gateway and it works fine for everything else.
Set the LAN IP of the machine instead, *then* map the port in the router to the machine. Make sure you harden the box appropriately before exposing it. |
There is confusion going around here.
Machine that I am installing Apache on IS gateway at the same time and it does have IP:192.168.1.254. That't what I thought when I said ... "Address is 192.168.1.254. It's my gateway and it works fine for everything else." .... Only thing I changed in default htttp.conf was Listen 192.168.1.254:7777 Sorry for confusion! |
Grep the file for "80" to see if there are any other references.
|
All times are GMT -5. The time now is 05:07 PM. |