Home > Software engineering >  Consult the websocket communication
Consult the websocket communication

Time:09-24

Consult, I defined in the background PHP socket=new WebSocket (ws://127.0.0.1: "2345"); Front desk socket defined in HTML=new WebSocket (ws://127.0.0.1: "2345"); Run get Error WebSocket connection to 'ws://127.0.0.1:2345/failed: Error during the WebSocket handshake: Unexpected response code: 200, please ask this is what reason

CodePudding user response:

The firewall and anti-virus software closing the try,

CodePudding user response:

https://blog.csdn.net/zixiao217/article/details/53098700
  • Related