OS: AlmaLinux 9.7 (Moss Jungle Cat)
aaPanel Version: 8.0.2
Web Server: NGINX
I’ve been experiencing this issue for almost two weeks, and I’m hoping someone can help. I am trying to port forward my website hosted on aaPanel so that it can be accessed externally using a public IP address.
Example:
226.45.198.113:6991
Currently, I can access the site locally using its private IP address and port, as I have already configured it in the aaPanel Domain Manager. The port (6991) is also confirmed to be listening on the server.
Troubleshooting Steps Already Performed:
- Allowed port 6991 (TCP/UDP) in the firewall.
- Added an SELinux rule to permit port 6991.
- Configured port forwarding on the firewall (FortiGate) — this is likely not the issue since other port forwarding rules are working correctly.
- Confirmed with the ISP that the port is not being blocked.
- Tested other ports such as 6119, 5223, 1490, but encountered the same issue.
- Attempted to create a port forwarding rule within aaPanel, but it did not work.
- Tried adding IP rules to allow access from all addresses (0.0.0.0), but received an “invalid rule” error.
- Verified that port 6991 is properly configured and listening in the NGINX configuration.
Below are screenshots of my server configuration for reference.




Thank you in advance