# firewall-cmd says "FirewallD is not running"

UrbeStack sysadmin note about nftables. Last updated 30 Nov 2026.

`firewall-cmd` says `FirewallD is not running`, and `ufw` rules have no effect. UrbeStack manages the firewall with nftables and provides commands to open ports.

## Symptoms

On AlmaLinux, `firewall-cmd` waits about ten seconds and then fails.

```
firewall-cmd --add-port=8080/tcp
```
```output
Waiting on dbus connection...
FirewallD is not running
```

On Ubuntu, `ufw allow 8080/tcp` prints `Rules updated`. The rule has no effect, and `ufw status` prints `Status: inactive`.

## Cause

UrbeStack writes its firewall rules to a single nftables table, `inet urbestack`. During installation, UrbeStack disables and masks `firewalld` and `ufw` to keep them from running alongside its firewall.

## Resolution

Open the port with an UrbeStack command.

```
urbestack-firewall-rule-add --kind port --value 8080 --note 'what it is for'
```

For `--value`, use a port number, a UDP port such as `8080/udp`, or a range such as `30000-31000`.

To set all extra open ports at once, pass them as one list.

```
urbestack-firewall-ports-set --ports "8080, 9000/udp, 30000-31000"
```

Check the firewall rules and open ports.

```
urbestack-firewall-status
```

If the problem persists after you follow this note, you can [open a support ticket](https://support.urbestack.com/new?type=support). Including the output of the commands you ran helps support diagnose the problem.
