diff --git a/ws-test/index.html b/ws-test/index.html index 6308c8c..7c5bbe5 100644 --- a/ws-test/index.html +++ b/ws-test/index.html @@ -41,7 +41,7 @@ "use strict"; var container = document.getElementById( "container" ); var img = document.getElementById( "img" ); - var ws = new WebSocket( "ws://localhost:9091" ); + var ws = new WebSocket( "ws://127.0.0.1:9091" ); ws.onmessage = function( data ) { img.src = data.data; };