You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi ,
I am trying to modifying the websocket test scripts ,
var WebSocket = require('ws');
var ws = new WebSocket('ws://root:root@127.0.0.1:8898/web2');
ws.on('open', function open() {
ws.send('hello');
console.log('open');
});
ws.on('message', function (data) {
console.log(data);
process.exit(1);
ws.close();
});
but in the mongo client , I could not find the data was injected to the lan server ... can you please clarifying if the websocket is working ?
thanks
The text was updated successfully, but these errors were encountered:
hi ,
I am trying to modifying the websocket test scripts ,
var WebSocket = require('ws');
var ws = new WebSocket('ws://root:root@127.0.0.1:8898/web2');
ws.on('open', function open() {
ws.send('hello');
console.log('open');
});
ws.on('message', function (data) {
console.log(data);
process.exit(1);
ws.close();
});
but in the mongo client , I could not find the data was injected to the lan server ... can you please clarifying if the websocket is working ?
thanks
The text was updated successfully, but these errors were encountered: