#23588 [Opn->Fbk]: fsockopen failed: [Permission denied]
| From: | derick@php.net | Date: | Mon, 12 May 2003 08:07:47 +0000 |
| Subject: | #23588 [Opn->Fbk]: fsockopen failed: [Permission denied] | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-39473@lists.php.net to get a copy of this message | ||
ID: 23588
Updated by: derick@php.net
Reported By: xguru at gmx dot net
-Status: Open
+Status: Feedback
Bug Type: Sockets related
Operating System: FreeBSD 4.5-20020313
PHP Version: 4.3.1
New Comment:
Firewall or something?
Try to see if you get a response like:
Trying 212.85.249.130...
Connected to mail.i12.com.
Escape character is '^]'.
+OK <23597.1052727122@node-6>
when you do the following commands on your shell:
telnet mail.i12.com 110
regards,
Derick
Previous Comments:
------------------------------------------------------------------------
[2003-05-12 03:05:59] xguru at gmx dot net
I try to open socket with fsockopen() to mailserver:
mail.i12.com:110 but recieve error:
Error [13] Permission denied.
But I can open socket with fsockopen() to mail.i12.com:80.
Why I can't open sockets on port 110?
------------------------------------------------------------------------
[2003-05-12 03:05:50] xguru at gmx dot net
I try to open socket with fsockopen() to mailserver:
mail.i12.com:110 but recieve error:
Error [13] Permission denied.
But I can open socket with fsockopen() to mail.i12.com:80.
Why I can't open sockets on port 110?
------------------------------------------------------------------------
[2003-05-12 01:23:42] derick@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2003-05-12 00:30:55] xguru at gmx dot net
PHP Message:
Warning: fsockopen() [function.fsockopen]: php_hostconnect: connect
failed in /home/1/host3473/public_html/info.php on line 90
Warning: fsockopen() [function.fsockopen]: unable to connect to
mail.i12.com:110 in /home/1/host3473/public_html/info.php on line 90
Error [13] [Permission denied]
line 89-90:
$port=110;
fp = fsockopen("mail.i12.com", $port, &$errno, &$errstr);
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23588&edit=1