Cant open portainer web ip

Hey everyone, I’m currently running Ubuntu 22.04.2 in a oracle vm virtual box and I’m trying to open portainers web ui with the assigned ip and port 9443. but every time I’ve tried it fails. I’ve tried every IP i could find including (vmname).local:9443 and nothing works. If someone could please help me fix this it’d be greatly appreciated.