Skip to content

Commit 3ce5e6f

Browse files
committed
Use better ports on the home page
1 parent ed657e9 commit 3ce5e6f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/index.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
http.createServer(function (req, res) {
5656
res.writeHead(200, {'Content-Type': 'text/plain'});
5757
res.end('Hello World\n');
58-
}).listen(8124, "127.0.0.1");
59-
console.log('Server running at http://127.0.0.1:8124/');
58+
}).listen(1337, "127.0.0.1");
59+
console.log('Server running at http://127.0.0.1:1337/');
6060
</pre>
6161

6262
<p>
@@ -66,10 +66,10 @@
6666
</p>
6767
<pre class="sh_none">
6868
% node example.js
69-
Server running at http://127.0.0.1:8124/</pre>
69+
Server running at http://127.0.0.1:1337/</pre>
7070

7171
<p>
72-
Here is an example of a simple TCP server which listens on port 8124
72+
Here is an example of a simple TCP server which listens on port 1337
7373
and echoes whatever you send it:
7474
</p>
7575

@@ -79,9 +79,9 @@
7979
var server = net.createServer(function (socket) {
8080
socket.write("Echo server\r\n");
8181
socket.pipe(socket);
82-
})
82+
});
8383

84-
server.listen(8124, "127.0.0.1");
84+
server.listen(1337, "127.0.0.1");
8585
</pre>
8686

8787
<p>

0 commit comments

Comments
 (0)