Thank you for the reply.
I have installed No Machine on windows and the windows host has a nat network but the nat work is giving an Ip address of 10.0.2.15 while my host has an ip address of 18.104.22.168. I have tried the bridge connection but it does not seem to work in my current settings.
It Might help youwith a bit more info that I am using a cloud based server from digital ocean to run the server and installed virtualbox on that server.
I am able to access the host with no problem with no machine but accessing the guest virtualbox seems so complicated, I dont knwo knwo what to do or how to fix it.