Update index.js

fix port
This commit is contained in:
Markus
2018-04-17 19:42:47 +02:00
committed by GitHub
parent 01e1fdfb50
commit 02e0128802

View File

@ -7,7 +7,7 @@ var server = http.createServer(function(request, response) {
response.writeHead(404); response.writeHead(404);
response.end(); response.end();
}); });
server.listen(81, function() { server.listen(8011, function() {
console.log((new Date()) + ' Server is listening on port 8011'); console.log((new Date()) + ' Server is listening on port 8011');
}); });
@ -54,4 +54,4 @@ wsServer.on('request', function(request) {
}); });
connection.sendUTF("Hallo Client!"); connection.sendUTF("Hallo Client!");
}); });