I want to allow
curl -if localhost:54321 only with
ufw. What rule can I apply from the command line?
I have tried
ufw allow proto tcp from any to any port 54321 and
ufw status shows the following:
To Action From -- ------ ---- 54321/tcp ALLOW Anywhere 54321/tcp (v6) ALLOW Anywhere (v6)
But still I'm unable to
curl -if localhost:54321.