Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 1 down vote accepted

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

share|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 – 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 script. I believe it's fixed in newer versions. – nicorellius Feb 2 '12 at 21:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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