Skip to content

Commit 1561de3

Browse files
committed
Port already defined by default
1 parent 6ccbb34 commit 1561de3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ module.exports = async function (req, res) {
3434
To run the microservice on port `3000`, use the `micro` command:
3535

3636
```bash
37-
micro -p 3000 sleep.js
37+
micro sleep.js
3838
```
3939

4040
To run the microservice on port `3000` and localhost instead of listening on every interface, use the `micro` command:
4141

4242
```bash
43-
micro -p 3000 -H localhost sleep.js
43+
micro -H localhost sleep.js
4444
```
4545

4646
## Usage

0 commit comments

Comments
 (0)