I edit httpd.conf and add Listen 5900 . But xampp control panel status displays port 80 when i restart apache. Why it refuses to change port? Which is the correct syntax to edit the httpd file?

link|improve this question
feedback

1 Answer

up vote 1 down vote accepted

Most probably you have NameVirtualHost your.ip.here:80 and <VirtualHost your.ip.here:80> directives somewhere in your config files, please search for them.

link|improve this answer
can't find them – lorkybinary Aug 19 '11 at 0:11
When you added Listen 5900 did you delete Listen 80? Maybe Apache just listens on two ports, you can check this using netstat -a -n or browsing to http://127.0.0.1:5900 – Alex Aug 19 '11 at 0:14
ok now apache listens to 5900. but still I cannot have access from another house. Port forwarding is ok set. – lorkybinary Aug 19 '11 at 0:19
Also, like lampstack, that message is hard-coded into the ctl.sh script. I believe it's fixed in newer versions. – nicorellius Feb 2 at 21:13
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.