For your first question, on how to access the network from the emulator: the emulator runs on its own network address space, isolated from your PC.
stackoverflow.com