问题建立了两款Android模拟器之间的连接 [英] Problem in establishing a connection between two android emulators

查看:118
本文介绍了问题建立了两款Android模拟器之间的连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我米使得机器人的应用程序,这将两端使用。我想每个终端为客户端和服务器上运行他们聊天工作。只是为了检查它,只有客户端一体机和服务器上运行的另一个。但是,当我开始,客户端仿真器是无法连接到服务器仿真器。

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.

我米使用套接字使两者之间的连接。客户机的IP地址为192.168.77.62,我的服务器上运行192.168.77.56并侦听端口4444。

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.

什么IP /端口我应该在模拟器使用?我应该在任何事情有任何改变?任何一个可以帮助?

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

推荐答案

检查的转发端口的。

这篇关于问题建立了两款Android模拟器之间的连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆