Home assistant network error

i recently installed home assistant (version 8.2) in my pc on virtualbox
the problem is i couldn’t access it from the url

it is not connected to my network…

pls help me

what is your hardware setup of your VM in VirtualBox?

I recommend not to use NAT… Yes this will also work with port forward, but it’s not really flexible.
What you want is to use the network interface as bridge. This way it get’s usually an IP address via DHCP from your router and is then in the same subnet.

But if you want to take this a little more serious, you should think about network segmentation. I would not recommend to put your home automation into your normal LAN without any deeper protection…