Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

PHP 5.4 comes with a built-in development webserver:

http://php.net/manual/en/features.commandline.webserver.php

When I try to start the server like documented everything looks fine:

php -S localhost:3000

PHP 5.4.4-2 Development Server started at Sat Dec 29 10:56:43 2012

Listening on localhost:3000 Document root is /var/www

Press Ctrl-C to quit.

When I curl localhost:3000 it works.

But It does not work with Firefox 17. The browser message is simple that it cannot connect to the website. Firebug shows the status "aborted" in the network console.

Is this a known issue? Can I change this behavior or at least debug it?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

I found it :D

http://support.mozilla.org/de/questions/771916

Type about:config into the address bar
Ignore the warning
Enter network.dns.disableIPv6 into the filter box
Right-click on the entry and press on toggle (it should now say false)
Close and restart FireFox 
share|improve this answer
add comment

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.