Aadesh Nguyen wrote:Sorry if the title confused you. What I was wondering is whether there is a way to make a server/client connection using one computer without using "localhost"? I thought I could do it with VirtualBox, but the virtual machine and the host machine end up having the same IP address. If we could not do it with a computer, how about two computers but using the same network?
Thanks in advance,
As far as Windows is concerned, the VirtualBox virtual machine is a different computer. In your case they share the same IP address because that's probably how you set them up. You can also use bridge-mode networking for the virtual machine, which means that the virtual machine will use the same physical network card as usual but will get a different IP address.
Because you now have the two machines share the same IP address, Windows has no way whatsoever of communication with the virtual machine through the network. If you try to connect to "localhost" or to the IP address, it will connect to itself.