There's a more efficient solution: Under Settings > Server > Security > Allowed IP Addresses, add the LAN and VPN addresses appropriate to one's configuration, but also add 127.0.0.1, which the local loopback IP address.

All the best... 😎...