apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucian Adrian Grijincu" <lucian.griji...@gmail.com>
Subject Re: No connection could be made because the target machine actively refused it.
Date Wed, 16 Jan 2008 16:59:09 GMT
On Jan 16, 2008 7:52 PM, Learning apr <learning_apr@hotmail.co.uk> wrote:
>
>  Hello,
>
> I use function apr_socket_connect(_self->shared_socket, _self->intf_addr) to
> make a TCP connection.
>
> But I got the error message: No connection could be made because the target
> machine actively refused it.
>

Are you sure that someone is listening on the IP:PORT you're connecting to?
try a "telnet IP port" and see if you can connect to the machine.



-- 
Lucian

Mime
View raw message