I am getting a connection refused error for the following piece of
code
$errno = 0;
$errstr= "testt";
fsockopen("www.google.com", 80, $errno, $errstr, 300);
echo $errno;
echo $errstr;
what could be the reason?
I am running php 4.4.4
Chiman 4 5372
"Chimanrao" <ch*******@gmail.comwrote in message
news:63**********************************@s8g2000p rg.googlegroups.com...
>I am getting a connection refused error for the following piece of
code
$errno = 0;
$errstr= "testt";
fsockopen("www.google.com", 80, $errno, $errstr, 300);
echo $errno;
echo $errstr;
what could be the reason?
possibly that google is refusing your connection. :)
On Dec 19, 10:48 am, "Steve" <no....@example.comwrote:
"Chimanrao" <chiman...@gmail.comwrote in message
news:63**********************************@s8g2000p rg.googlegroups.com...
I am getting a connection refused error for the following piece of
code
$errno = 0;
$errstr= "testt";
fsockopen("www.google.com", 80, $errno, $errstr, 300);
echo $errno;
echo $errstr;
what could be the reason?
possibly that google is refusing your connection. :)
This happens to any website, not only for google.
Chimanrao wrote:
I am getting a connection refused error for the following piece of
code
$errno = 0;
$errstr= "testt";
fsockopen("www.google.com", 80, $errno, $errstr, 300);
echo $errno;
echo $errstr;
what could be the reason?
I am running php 4.4.4
Chiman
fsockopen is disabled in your server.
Hendri
"Chimanrao" <ch*******@gmail.comwrote in message
news:1f**********************************@s19g2000 prg.googlegroups.com...
On Dec 19, 10:48 am, "Steve" <no....@example.comwrote:
>"Chimanrao" <chiman...@gmail.comwrote in message
news:63**********************************@s8g2000 prg.googlegroups.com...
>I am getting a connection refused error for the following piece of
code
$errno = 0;
$errstr= "testt";
fsockopen("www.google.com", 80, $errno, $errstr, 300);
echo $errno;
echo $errstr;
what could be the reason?
possibly that google is refusing your connection. :)
This happens to any website, not only for google.
i figured...i was just fun'n ya.
anyway, check your firewall first. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Alex Hunsley |
last post by:
I am using the smtp module to send emails via a local SMTP server on our network.
I am failing with "connection refused" error, even though we definitely have an
smtp server running on port 25!
...
|
by: Josh Close |
last post by:
I'm using the smtplib module and I keep getting this error: (111,
'Connection refused') What could be causing this? I've tried it from a
different computer and it seems to work, but not from this...
|
by: Sylvain Thenault |
last post by:
Hi !
I got a connection refused when I try to upload a package using "python
setup.py register". However login using the web interface works well. Does
anyone has the same problem or is it a...
|
by: niceyama |
last post by:
Dear c.l.p,
I have recently been doing the tutorial of Python and everything is
well, i'm upto the pass section. Anyway, when I try to launch idle now
I get the error message: Socket Error:...
|
by: Parag Mahajan |
last post by:
Hi,
I am able to browse my ASP.Net webapplication from IE (maybe because of some
settings).
But when I try to see the same page from a Firefox browser (non- IE
browser), I am getting
"Error...
|
by: hufaunder |
last post by:
I have a website that consumes a webservice. Both of them are in the
Default Website folder. I can execute the service without any problem
when I go to the test page http://localhost/Service.asmx....
|
by: OJ |
last post by:
Hi,
I am at a loss here, I have a c# asp.net website which connects to a
remote SQL Server 2000 db via a connection string. If I set the
website up in the filesystem and use the inbuilt cassini...
|
by: devtalex |
last post by:
hello all!... i'm novice here...
I've such kind of issue.
The purpose of my code is to copy a number of files by FTP (using different ports every time).
There are different numbers of files...
|
by: lesmith |
last post by:
db2 governor failing with connection refused
--------------------------------------------------------------------------------
We are trying to test using the db2 governor (udb v8) and get a...
|
by: rhyme2ri2 |
last post by:
Hi all,
Whenever i try to use 'quote nlst' or 'quote list' in ftp. It gives me this error 425:Can't establish connection. Connection refused'. It works fine when I use ls or dir commands. But I...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |