We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bac5516 + 1ccf0cf commit 03f17d2Copy full SHA for 03f17d2
locale/en/about/index.md
@@ -14,13 +14,13 @@ fired, but if there is no work to be done Node is sleeping.
14
const http = require('http');
15
16
const hostname = '127.0.0.1';
17
-const post = 1337;
+const port = 1337;
18
19
http.createServer((req, res) => {
20
res.writeHead(200, { 'Content-Type': 'text/plain' });
21
res.end('Hello World\n');
22
-}).listen(post, hostname, () => {
23
- console.log(`Server running at http://${hostname}:${post}/`);
+}).listen(port, hostname, () => {
+ console.log(`Server running at http://${hostname}:${port}/`);
24
});
25
```
26
0 commit comments