mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-06-24 22:41:35 +02:00
Update index.js
fix port
This commit is contained in:
@ -7,7 +7,7 @@ var server = http.createServer(function(request, response) {
|
||||
response.writeHead(404);
|
||||
response.end();
|
||||
});
|
||||
server.listen(81, function() {
|
||||
server.listen(8011, function() {
|
||||
console.log((new Date()) + ' Server is listening on port 8011');
|
||||
});
|
||||
|
||||
@ -54,4 +54,4 @@ wsServer.on('request', function(request) {
|
||||
});
|
||||
|
||||
connection.sendUTF("Hallo Client!");
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user