php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23588 fsockopen failed: [Permission denied]
Submitted: 2003-05-12 00:30 UTC Modified: 2003-05-13 11:05 UTC
From: xguru at gmx dot net Assigned:
Status: Closed Package: Sockets related
PHP Version: 4.3.1 OS: FreeBSD 4.5-20020313
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: xguru at gmx dot net
New email:
PHP Version: OS:

 

 [2003-05-12 00:30 UTC] 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);

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-12 01:23 UTC] 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 03:05 UTC] 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 UTC] 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:07 UTC] derick@php.net
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
 [2003-05-13 11:05 UTC] xguru at gmx dot net
Thanks to derick.
This is really a firewall.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC