# The ports object

> The shared ports of a VM.

```json Example
{
  "name": "web1",
  "state": "awake",
  "edge": true,
  "public": [
    {
      "port": 8000,
      "url": "https://web1-8000--acme.shakoapp.dev",
      "tcp": "tcp.shako.dev:10042"
    }
  ],
  "private": [],
  "listening": [
    22,
    8000
  ]
}
```

## Fields

**name** `string`

The VM's name.

**state** `VmState`

The state of the VM.

**edge** `boolean`

true: the URLs work now.

**public** `PublicPort[]`

The public ports.

**private** `PrivatePort[]`

The private ports.

**listening** `number[] | null`

The common ports on which a program listens, or null when the VM is not awake.
