I tried using the command below but I can still connect to it via browser.
sudo ufw deny from any to {public IP} port 8080
I am running a wikijs (running on port 8080) on a server with cloudflare tunnel access. I want to block browser access when they try to browse for http://public-ip:8080