Skip to content

Commit 02e11a8

Browse files
authored
Update telnet command to use port 4321 as specified by PORT env. variable (elixir-lang#1616)
1 parent fa85cbd commit 02e11a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

getting-started/mix-otp/task-and-gen-tcp.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Insert these changes in your code and now you may start your application using t
154154
Now that the server is part of the supervision tree, it should start automatically when we run the application. Start your server, now passing the port, and once again use the `telnet` client to make sure that everything still works:
155155

156156
```console
157-
$ telnet 127.0.0.1 4040
157+
$ telnet 127.0.0.1 4321
158158
Trying 127.0.0.1...
159159
Connected to localhost.
160160
Escape character is '^]'.
@@ -169,7 +169,7 @@ Yes, it works! However, does it *scale*?
169169
Try to connect two telnet clients at the same time. When you do so, you will notice that the second client doesn't echo:
170170

171171
```console
172-
$ telnet 127.0.0.1 4040
172+
$ telnet 127.0.0.1 4321
173173
Trying 127.0.0.1...
174174
Connected to localhost.
175175
Escape character is '^]'.

0 commit comments

Comments
 (0)