JS怎么连接不上WebSocket

ws = new WebSocket("ws://192.168.1.19:8282")

index.html:213 WebSocket connection to 'ws://192.168.1.19:8282/' failed: Error during WebSocket handshake: net::ERR_INVALID_HTTP_RESPONSE

1276 1 0
1个回答

年代过于久远,无法发表回答
×
🔝