Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Eclipse 中使用 XAMMP。如果我使用 android 模拟器一切正常,但如果我使用真手机,Eclipse 会说连接被拒绝。我用于连接:
http://10.0.2.2:80
我需要其他地址吗?
我很困惑,因为我不知道这个地址来自哪里(10.0.2.2),但最后我只是打开了 wifi,连接到我的 wifi 点并更改该地址,将我的电脑的子路由,本地 ip。(192.168.1.x)。对于任何想通过互联网连接的人,我发现了这个:
从 Internet 访问 XAMPP 本地主机