diff --git a/README.md b/README.md index 1ea2fca..5ac53b6 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ class MyChat implements MessageComponentInterface { ```javascript // Then some JavaScript in the browser: - var conn = new WebSocket('ws://localhost/echo'); + var conn = new WebSocket('ws://localhost:8080/echo'); conn.onmessage = function(e) { console.log(e.data); }; conn.send('Hello Me!'); ``` \ No newline at end of file