WebSocket-for-Python
WebSocket-for-Python copied to clipboard
"Connection closed by server: 1006" when using --host 0.0.0.0
I did these steps on Raspberry Pi3:
- git clone https://github.com/Lawouach/WebSocket-for-Python.git
- cd WebSocket-for-Python/
- sudo python setup.py install
- python example/echo_cherrypy_server.py --host 0.0.0.0
- Then open a browser on my PC and go to http://192.168.1.x:9000
Then the message box shows: Connection closed by server: 1006 ""
I use cherrypy 3.5.0 in my RPi3. Please advise the way to solve the problem. Note that there is no problem if I specify the IP address of either Ethernet or Wifi. I have to use 0.0.0.0 as Host because I connect to RPi via Ethernet or Wifi.
Thank you.
I am having the same problem. I have a server that will need access from multiple addresses. Is there a way around this problem yet?