🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
2 messages
2 total messages Started by Emmanuel Thu, 07 Dec 2006 05:54
TIdHTTP component Socket Error #10061 Connection refused
#349
Author: Emmanuel
Date: Thu, 07 Dec 2006 05:54
20 lines
1365 bytes
I am using Indy_9_00_17

AnsiString HTML;
TStringList *Values = new TStringList;
try{Values->Add("P=EEESSSE");
    Values->Add("S=123DDDE");
    HTML = IdHTTP1->Post  ("http://www.xxx.com", Values);
    }
    __finally
    {
        delete Values;
    }

when It reach IdHTTP1->Post  ("http://www.xxx.com", Values);
there is error,
Socket Error #10061 Connection refused

How can I solve ?

Emmanuel
Re: TIdHTTP component Socket Error #10061 Connection refused
#350
Author: Remy Lebeau (TeamB)
Date: Thu, 07 Dec 2006 07:28
18 lines
1392 bytes
"Emmanuel" <emmanuel@erphk.com> wrote in message
news:4577aacc@newsgroups.borland.com...

> when It reach IdHTTP1->Post  ("http://www.xxx.com", Values);
> there is error,
> Socket Error #10061 Connection refused

Error 10061 happens for one of two reasons:

1) you tried to connect to a hostname that does not have a server running on
it.  Double-check that the URL is accurate

2) the hostname is accurate, but the server's queue of pending connections
is full.  You will have to wait until the queue is emptied.


Gambit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads