I think that Android Issue Tracker is even better place to ask it, so you can get feedback directly from Android Emulator developers
I would expect that such case just works out of the box, or at least there is some kind of doc on
developer.android.com which tells how to make it work (for example if it requires changing firewall settings on you OS, or some special config for emulator network)