Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 21912 invoked from network); 16 Jan 2008 16:59:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jan 2008 16:59:40 -0000 Received: (qmail 26924 invoked by uid 500); 16 Jan 2008 16:59:29 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 26883 invoked by uid 500); 16 Jan 2008 16:59:29 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 26871 invoked by uid 99); 16 Jan 2008 16:59:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2008 08:59:29 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lucian.grijincu@gmail.com designates 209.85.198.191 as permitted sender) Received: from [209.85.198.191] (HELO rv-out-0910.google.com) (209.85.198.191) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2008 16:59:04 +0000 Received: by rv-out-0910.google.com with SMTP id l15so302338rvb.43 for ; Wed, 16 Jan 2008 08:59:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=sQdcuISqWGIsZLTYafBhZ4v2+R5UEqIWnAqv0Ha3S1U=; b=KutHaSurizon0byEQXBk/7aUxNNmNPGQxVihbtANYNJ8sWMFfcXU0sS45vpWlxjpKiKx4jYWc8oYDZSaF00Lc/mTAI8k0CF4A+MAyo1496MfKSIL1d1J+ZG7FHsY9YdI5FSUfNtUvJSZvUcVjD5AOcSflu6taPDgi9xy1dAydT0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=C5wpFz+G/4jmVYczb8ldrtTKQduZPGpfoDczQWM6sk5mFT6D7MJSGwm7ovx5zg83ZFy/xV8Ld4o+zVRpJlvqn839dvZIQS6onEyHEAtuy6kSYr2DBLj+CK+TF96TuXfX9SGog4hKoPqA2ueoJsLocCJxR1Ah9ilh26HgNM2TKcU= Received: by 10.141.145.11 with SMTP id x11mr712137rvn.115.1200502749798; Wed, 16 Jan 2008 08:59:09 -0800 (PST) Received: by 10.141.78.21 with HTTP; Wed, 16 Jan 2008 08:59:09 -0800 (PST) Message-ID: Date: Wed, 16 Jan 2008 19:59:09 +0300 From: "Lucian Adrian Grijincu" To: "Learning apr" Subject: Re: No connection could be made because the target machine actively refused it. Cc: dev@apr.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <59057.84.233.182.145.1200401404.squirrel@www.pier29.net> <478CFC80.7000400@rowe-clan.net> <478E2AF8.5020105@rowe-clan.net> X-Virus-Checked: Checked by ClamAV on apache.org On Jan 16, 2008 7:52 PM, Learning apr 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