To establish a TCP session to your virtual device, you must set up port forwarding with ADB:
adb forward tcp:<host port> tcp:<virtual device port>
ADB forwards the packets to the virtual device for you. You do not need to directly contact the virtual device. This must be done each time the virtual device is started.
For more information, please refer to http://developer.android.com/tools/help/adb.html#forwardports