Vm box bridge network error

I am running erpnext on windows using vm box
I used to run it using NAT settings on local host and it runs fine
Now iam required to run it on a Guest machine(another machine)
I set the vm box to bridge
an ip address is already there on the “virtual box host only adapter”
but after I changed to bridge, I am not able to connect while I type “localhost:8080” on the host machine
the browser gives me an error “unable to connect”
How do I resolve this
Also, how am I to connect from another machine
Please help