Skip to content

Commit

Permalink
fix wrong port in code block (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
phibkro authored Nov 3, 2023
1 parent 305e2ee commit e4287a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/manual/runtime/http_server_apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ passing in a port number in options bag as the first or second argument:
// To listen on port 4242.
Deno.serve({ port: 4242 }, handler);

// To listen on port 4500 and bind to 0.0.0.0.
// To listen on port 4242 and bind to 0.0.0.0.
Deno.serve({ port: 4242, hostname: "0.0.0.0", handler });
```

Expand Down

0 comments on commit e4287a8

Please sign in to comment.