login about faq

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?

asked Oct 12 '12 at 10:07

chilkat's gravatar image

chilkat ♦♦

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" />


answered Oct 12 '12 at 10:08

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Oct 12 '12 at 10:07

Seen: 3,607 times

Last updated: Oct 12 '12 at 10:08

powered by OSQA