Virtual Box Question:

Download Job Interview Questions and Answers PDF

Tell me how to provide http services using VirtualBox?

Virtual Box Interview Question
Virtual Box Interview Question

Answer:

To provide the http services user need Virtual box guest running on a NAT connection. The connection which is being setup uses HTTP port forwarding method to provide the http services. The http services can be provided on the Virtual box guest using the host computer by using the http server running on the host and using the port 5000. The command that is used:
VboxManage modifyvm <guest_name> --natpf1 "any-name, tcp, , 5000, , 5000".
This command will allow the virtual box guest system to communicate with the host system by forwarding all the requests on localhost of the host using port 5000.

Download Virtual Box Interview Questions And Answers PDF

Previous QuestionNext Question
Explain what are the effects that can be caused if Virtual kernel module doesnt load?Can you explain what are the different network modes used by VirtualBox?