Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.

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 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 '12 at 21:13

Your Answer

 
discard

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.