Archived Forum Post

Index of archived forum posts


Android Socket Permission Denied Error

Oct 12 '12 at 10:08

I get a "socketError: Permission denied" error when trying to connect to an IMAP server in my Android application. What is the cause of this?


If the LastErrorText contains a line such as this:

socketError: Permission denied
It means you need to add permissions for Internet communications in your manifest. It should be placed outside of the application tag, such as:
    <uses-permission android:name="android.permission.INTERNET" />