Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .