Skip to content

Commit 02e0128

Browse files
authored
Update index.js
fix port
1 parent 01e1fdf commit 02e0128

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/webSocketServer/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var server = http.createServer(function(request, response) {
77
response.writeHead(404);
88
response.end();
99
});
10-
server.listen(81, function() {
10+
server.listen(8011, function() {
1111
console.log((new Date()) + ' Server is listening on port 8011');
1212
});
1313

@@ -54,4 +54,4 @@ wsServer.on('request', function(request) {
5454
});
5555

5656
connection.sendUTF("Hallo Client!");
57-
});
57+
});

0 commit comments

Comments
 (0)