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 5391
"Chimanrao" <ch*******@gmai l.comwrote in message
news:63******** *************** ***********@s8g 2000prg.googleg roups.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...@gmai l.comwrote in message
news:63******** *************** ***********@s8g 2000prg.googleg roups.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*******@gmai l.comwrote in message
news:1f******** *************** ***********@s19 g2000prg.google groups.com...
On Dec 19, 10:48 am, "Steve" <no....@example .comwrote:
>"Chimanrao" <chiman...@gmai l.comwrote in message
news:63******* *************** ************@s8 g2000prg.google groups.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!
the code is like this:
me = 'ahunsley@companyname.com'
you = 'someonelse@companyname.com'
msg = '*** alert'
|
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 specific
server. If port 25 was blocked for some reason, would that give me a
'connection refused' error?
-Josh
|
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 problem on my side ?
syt@musca:pylint$ python setup.py register
running register
We need to know who you are, so please choose either:
1. use your existing login,
|
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: Connection Refused. I do not
have a firewall, so I don't know what is going on. Also, this comes up
after it:
IDLE's subprocess didn't make the connection. Either IDLE can't start a
subprocess or personal firewall software is blocking the...
|
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 Code 10061: Connection refused".
We have the internet connection available through a manual proxy setting.
And these settings are replicated in all browsers (IE as well as Firefox).
| |
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. When I try to
consume that webservice from the website I get the error shown bellow.
In my web.config I have:
<authentication mode="Windows"/>
<identity impersonate="true" userName="auser" password="apwd"/>
IIS is configured as "Integrated...
|
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 webserver in
VS2005 then everything is rosy. If I then set up the website on the
local IIS 5.1 the site no longer connects and returns this error:
An error has occurred while establishing a connection to the server.
When connecting to SQL Server...
|
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 every time. The prblem appears when there is lot of files to copy.
On some accounts the minmum number of files fluently copied is 15, on other 50, etc... But at the end it gives such error message:
Error : Cannot open data connection to...
|
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 message "connection refused" following the db2 start gov command. Has anyone seen this ...or any ideas on what to check?
details
Trying ::ffff:159.202.148.9...
connect to address ::ffff:159.202.148.9: Connection refused
Trying...
|
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 have to generate a script in IDL (Interactive Data Language) in which i need to send the command 'nlst' or 'list' i.e. the commands at server end for ls and dir from the program to the server. I tried to switch passive mode too but in vain.Rest all...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |