No matter what host you use - Windows or Linux, you have to assign an IP address for the network interface of the board appeared on host. For example, on Linux the interface will be usb<X> as while.
In VirtualBox, you have to ensure the Client OS sees the interfaces on the host OS.