Problem in establishing a connection between two android emulators

こ雲淡風輕ζ 提交于 2020-01-03 03:55:11

问题


I m making an application in ANDROID which will be used at two ends. I want every end to work as client and Server both to run chat on them. Just to check it, only Client is running on One machine and Server on another. But when I start, Client Emulator is unable to make connection to server emulator.

I m using Sockets to make connections between the two. Client Machine's IP Adress is 192.168.77.62 and my server is running on 192.168.77.56 and listening on port 4444.

What IP/Port I should use on emulator?? Should I make any changes in any thing there?? Can Any one help ?


回答1:


Check the documentation on forwarding ports.



来源:https://stackoverflow.com/questions/6082223/problem-in-establishing-a-connection-between-two-android-emulators

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!