LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux Ubuntu Server 20.04 UFW (Uncomplicated Fire Wall) blocking local http website (https://www.linuxquestions.org/questions/linux-newbie-8/linux-ubuntu-server-20-04-ufw-uncomplicated-fire-wall-blocking-local-http-website-4175736563/)

tem.penlington 04-30-2024 04:20 AM

Linux Ubuntu Server 20.04 UFW (Uncomplicated Fire Wall) blocking local http website
 
I have configured UFW to secure the ports on Ubuntu 20.04 server.
The UFW rules are :
22/tcp ALLOW Anywhere
80/tcp ALLOW Anywhere
443/tcp ALLOW Anywhere
21/tcp ALLOW Anywhere
20,21,990/tcp ALLOW Anywhere
30000:31000/tcp ALLOW Anywhere
3389 ALLOW 149.255.38.47
3389 ALLOW 149.255.38.0/24
3389 ALLOW Anywhere
22/tcp (v6) ALLOW Anywhere (v6)
80/tcp (v6) ALLOW Anywhere (v6)
443/tcp (v6) ALLOW Anywhere (v6)
21/tcp (v6) ALLOW Anywhere (v6)
20,21,990/tcp (v6) ALLOW Anywhere (v6)
30000:31000/tcp (v6) ALLOW Anywhere (v6)
3389 (v6) ALLOW Anywhere (v6)

But the problem i'm having is that it is blocking all the web apps.
80/tcp (v6) ALLOW Anywhere (v6) <-- is this correct ?

scasey 05-01-2024 12:54 PM

How are you connecting to the server?
Where is the server located?
Is it using a static IP?
What actual response do you get when you try to connect to it?
(Are you sure it’s blocked by the firewall?)

JJJCR 05-03-2024 03:22 AM

Quote:

80/tcp (v6) ALLOW Anywhere (v6) <-- is this correct ?
Above is IPv6 rule.

How about:
80 ALLOW Anywhere
443 ALLOW Anywhere


All times are GMT -5. The time now is 09:02 AM.