V
V
Vyacheslav Belyaev2016-04-14 05:41:35
CentOS
Vyacheslav Belyaev, 2016-04-14 05:41:35

How to check if websockets work?

Trying to start phpDeamon. It seems to work.

telnet 127.0.0.1 8047
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
quit
400 Bad Request

<html><head><title>400 Bad Request</title></head><body bgcolor="white"><center><h1>400 Bad Request</h1></center></body></html>Connection closed by foreign host.

But we can’t run a single example from the site (of those that we could find) that would make it work
writes Firefox cannot establish a connection to the server ws://127.0.0.1:8047/

Tell me and explain at least theoretically how the site and the server should interact in this regard

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question