Error: Unable to create selectable TCP socket

View: New views
2 Messages — Rating Filter:   Alert me  

Error: Unable to create selectable TCP socket

by ros :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi! I have a simple PHP script:

$mbox = imap_open ("{localhost:993/imap/ssl}INBOX", "test@domain.com", "123");
if(!$mbox) {
        echo 'Error: '.imap_last_error().'<br/>';
}

Script works fine from local PC, but results to error when executed at web hoster site.
The error is: "Error: Unable to create selectable TCP socket (2090 >= 1024)"

What could cause this error?

Thanks!

Re: Error: Unable to create selectable TCP socket

by ros :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Google

"Unable to create selectable TCP socket" -"funk"

ros wrote:
Hi! I have a simple PHP script:

$mbox = imap_open ("{localhost:993/imap/ssl}INBOX", "test@domain.com", "123");
if(!$mbox) {
        echo 'Error: '.imap_last_error().'<br/>';
}

Script works fine from local PC, but results to error when executed at web hoster site.
The error is: "Error: Unable to create selectable TCP socket (2090 >= 1024)"

What could cause this error?

Thanks!
LightInTheBox - Buy quality products at wholesale price