[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SetError() #6: connect(): A remote host refused an attempted conne ct operation.
Hello,
'A remote host refused an attempted connect operation' means that
HTTPAPI sent a request to connect to a host. That host (or a firewall
in-between) received the request, and sent back an error saying
'connection refused.'
This normally happens when you try to connect to a port where a program
isn't running. For example, if you try to connect to a computer that
isn't running an HTTP server (or it's HTTP server has been stopped) it
will send back a 'connection refused' message.
So either you are connecting to a computer that's not running an HTTP
server (Which shouldn't be a case if you're connecting to
www.webservicex.net) For example, if something is causing your DNS to
look up the wrong IP address for the host, this could happen.
Or there's a firewall blocking port 80 -- and the firewall is sending
you the 'connection refused' message. It's unusual for a firewall to
send back a message like that -- but not unheard of.
abaisch@xxxxxxxx wrote:
> Thanks for your reply.
> With examples 18 and 19 in library LIBHTTP, should specific firewall
> ports be open?
> Is there a trace to run or log to see what the actual problem is?
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------