Answers

Question and Answer:

  Home  Virtual Box

⟩ Tell me how to provide http services using VirtualBox?

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.

 142 views

More Questions for you: