I was testing something and added a rule to my firewall to allow port 9000. in retrospect, I should have just disabled it temporarily. anyhow, I went to remove the rule and it wont let me, it says rule not found.
$ sudo ufw delete 9000
ERROR: Could not find rule '9000'
but clearly, the rule is still active:
$ sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
To Action From
-- ------ ----
80 ALLOW IN Anywhere
443 ALLOW IN Anywhere
9000 ALLOW IN Anywhere
80 (v6) ALLOW IN Anywhere (v6)
443 (v6) ALLOW IN Anywhere (v6)
9000 (v6) ALLOW IN Anywhere (v6)
I read the UFW help and it says you can delete a port number, but it doesn't happen. How can I remove the rule for port 9000 from UFW?