开发者

Only emulators can connect to server running on PC, not actual devices

开发者 https://www.devze.com 2023-03-26 11:54 出处:网络
I have an app that connects to a server using Sockets. If I run the app on an emulator and the server on t开发者_如何转开发he same PC, they connect just fine. If I run the app on my SGS Vibrant and tr

I have an app that connects to a server using Sockets. If I run the app on an emulator and the server on t开发者_如何转开发he same PC, they connect just fine. If I run the app on my SGS Vibrant and try to connect to the same server on the same PC, nothing happens. The server is a standalone Java program I have written. I have disabled Windows Firewall and I haven't installed any kind of firewall on my phone. The phone and my computer are connected to the same WiFi connection. Any idea what could be causing this?

0

精彩评论

暂无评论...
验证码 换一张
取 消