I'm Having Trouble Connecting To an Internal Hotspot

I have KDE Debian 13 installed on a laptop computer that I want to use as a hotspot. The laptop is cable wired directly into the modem, and I want to share the internet over the WiFi card. I can create a hotspot via the built in Hotspot utility, but I can’t connect to it. My phone can see the hotspot, but when I try to connect to it, my phone sits for 10 or so seconds at the message “Obtaining IP address…” before a bubble messaged pops up saying “Failed to connect” with the activity message changing to “IP configuration failure”.

Things I’ve tried are removing the security from the hotspot to rule out the possibility that I’m typing in a password incorrectly or that there’s a security version incompatibility, disabling any VPNs, proxies, or ad block software from the laptop, and setting the hotspot to broadcast in 2.4 GHz mode only; yet I still can’t connect to the hotspot. Any advice?

Woo hoo! Forum necromancy (my second favorite kind of necromancy). All right, so after fiddling with this issue on and off for the last couple of months, I narrowed down the issue. Turns out, it was just as simple as my Firewall was blocking the connection. Today, I finally tried disabling the firewall entirely, and I was successfully able to connect to the Hotspot.

Now, I’d love to keep the firewall activated, and have a hotspot set up at the same time. With that being said, does anyone know how to allow a hotspot connection through the firewall? I figure that would be a tad bit easier than trying to troubleshoot this issue as a whole. My firewall is UFW.