Skip to content

Commit

Permalink
Port already defined by default
Browse files Browse the repository at this point in the history
  • Loading branch information
leo committed Jan 7, 2017
1 parent 6ccbb34 commit 1561de3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ module.exports = async function (req, res) {
To run the microservice on port `3000`, use the `micro` command:

```bash
micro -p 3000 sleep.js
micro sleep.js
```

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

```bash
micro -p 3000 -H localhost sleep.js
micro -H localhost sleep.js
```

## Usage
Expand Down

0 comments on commit 1561de3

Please sign in to comment.