Connecting locally does not involve the router at all. Start by fixing the LAN connection first.
- Check the firewall rules.
- Check that the rules are made for the correct LAN profile (public, domain or private network).
- Important: Always use the local (LAN-)IP to connect in the LAN, the external IP or URL will not work reliably.