NC on Ubuntu server 18.04.2 VM Snap install problem

After installation as a snap, I set the sudo password.
Then put the IP in firefox, but it won’t load
I use i3 one cor, 2 GB RAM and dynamic hard drivein VirtalBox
What info needed?
What went wrong exactly?

When, I toggled off VPN, it loaded successfully as internal server.
What is the fix for this problem with PIA VPN?

Why do you need to run a webserver behind VPN?

There’s no need to put your NextCloud server behind a VPN network environment because NextCloud is now running in a jointventure with “Let’s Encrypt” that comes with your ( recent ) installation out-of-the-box.