> For the complete documentation index, see [llms.txt](https://docs.pentest.ws/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentest.ws/getting-started/adding-ports-to-hosts.md).

# Adding Ports to Hosts

From the [Host Page](/hosts-and-services/host-page.md), click the *Add Ports* button in the *Ports* section.

![](/files/EFgUgcGuQd1l1h5Mc0RI)

**Example URL:** <https://pentest.ws/e/{engagement.id}/host/{host.id}/port/add>

![Add Ports](/files/5qZxxntjhDfuE0o8bcO2)

The *Add Ports* screen lets you quickly add ports to a Host using the following template:

`portNum[:protocol][/service]`

Separate multiple ports with a comma. Manually added ports are set to the Open port state.

## Examples

**Port Numbers:**\
`21, 25, 80, 139, 443, 445, 3389`

**Port and Service Names:**\
`80/http, 443/https`

**UDP Ports:**\
`53:udp/dns`

## Tier Availability

**Adding Ports** is available on all tiers.
