rust-chat
rust-chat copied to clipboard
Unable to connect Part 1
Hi, if I write: `ws = new WebSocket('ws://127.0.0.1:10000');
if (ws.readyState == WebSocket.OPEN) { console.log('Connection is successful'); }`
inside Firefox console, it can't connect. I'm using exactly the same main.rs uploaded.
Greetings-