---
title: "Open collector firewall ports"
description: "Open collector firewall ports are required for communication between the collector and the orchestrator in Opsview. This article provides step-by-step commands to open the necessary ports on CentOS, RHEL, Ubuntu, and Debian systems."
url: "https://docs.itrsgroup.com/docs/faq/opsview/4921552081693-opsview-open-collector-firewall-ports/index.html"
---
When deploying a new [collector](https://docs.itrsgroup.com/docs/faq/opsview/4919470073373-opsview-collector/index.html) that communicates directly with the [orchestrator](https://docs.itrsgroup.com/docs/faq/opsview/4920429084957-opsview-orchestrator/index.html), certain ports need to be opened. This article shows you how to open the necessary ports in the collector’s firewall.

[Click here to see a full list of required ports](https://docs.itrsgroup.com/docs/opsview/current/prerequisites/ports/index.html).

## Prerequisites

- None

### Process

1. Log in to the collector as `root`.
2. Run these commands to open the required ports:

#### CentOS/RHEL

```
firewall-cmd --permanent --add-port=4369/tcp
firewall-cmd --permanent --add-port=5666/tcp
firewall-cmd --permanent --add-port=8183/tcp
firewall-cmd --permanent --add-port=15985/tcp
firewall-cmd --permanent --add-port=25672/tcp
firewall-cmd --permanent --add-port=25984/tcp
firewall-cmd --permanent --add-port=35672-35682/tcp
firewall-cmd --permanent --add-port=45673/tcp
firewall-cmd --reload
```

#### Ubuntu/Debian

```
ufw allow 4369/tcp
ufw allow 5666/tcp
ufw allow 8183/tcp
ufw allow 15985/tcp
ufw allow 25672/tcp
ufw allow 25984/tcp
ufw allow 35672:35682/tcp
ufw allow 45673/tcp
ufw enable
```


