Bug #63249 [Opn->Asn]: built-in webserver does not work with Opera browser
Edit report at https://bugs.php.net/bug.php?id=63249&edit=1
ID: 63249
Updated by: johannes@php.net
Reported by: pascal dot chevrel at free dot fr
Summary: built-in webserver does not work with Opera browser
-Status: Open
+Status: Assigned
Type: Bug
Package: Built-in web server
Operating System: Linux
PHP Version: 5.4.7
-Assigned To:
+Assigned To: moriyoshi
Block user comment: N
Private report: N
New Comment:
Assigning to author.
Previous Comments:
------------------------------------------------------------------------
[2012-10-09 16:41:46] pascal dot chevrel at free dot fr
good guess :
http://[::1]:8002/ works
my /etc/hosts lists localhost as 127.0.0.1
------------------------------------------------------------------------
[2012-10-09 16:38:23] johannes@php.net
As a guess: Might this be an IPv6 issue? Can you try loading http://127.0.0.1:8002/ and http://[::1]:8002/
Please also checks whether your /etc/hosts lists "localhost" as ::1 or 127.0.0.1
------------------------------------------------------------------------
[2012-10-09 15:25:25] laruence@php.net
sounds very weird, maybe you can debug it with tcpdump, to check whether the
request really arrived.
------------------------------------------------------------------------
[2012-10-09 15:10:31] pascal dot chevrel at free dot fr
Description:
------------
If I launch the php built in web server on any port (php -S localhost:8002), it works in Firefox and
Chrome but not in Opera (12.10) which doesn't find any server and displays its internal error
page.
If I launch a python server on the same port, it works in Opera.
I am not seeing any request from Opera in the console while the server is running.
I tried to debug the problem with an Opera employee and we couldn't find the problem on Opera
side, it seems that the problem is on PHP side. (I will forward this bug number to him so as that he
can get in touch with you in case you need to interact with Opera directly).
Test script:
---------------
php -S localhost:8002
Expected result:
----------------
Server works in Opera browser
Actual result:
--------------
Server not working in Opera browser
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63249&edit=1
Thread (6 messages)