• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Socket Permission

9Ate7

Newbie
Hi,

Trying some socket programming when i ran in to a problem i cant solve. Just a few days ago my app would connect to the server just fine. However now when i try and run it, it keeps saying permission denied. Sometimes it just wont connect at all.

The weird part is if i run the same app on the emulator, it works just fine. But when i run it on any phone its doesn't work.

Thanks

SOLVED
 
So i managed to fix it, nothing wrong with the app. The problem was that my network on my server was a HOME network. I changed it to public and it just magically worked.
 
Back
Top Bottom