---
title: port
---

# dev.port

- **Type:** `number`
- **Default:** `8080`

Specify a port number for Dev Server to listen.

By default, Dev Server listens on port `8080` and automatically increments the port number when the port is occupied.

### Example

Set the port to `3000`:

```ts
export default {
  dev: {
    port: 3000,
  },
};
```

