From owner-freebsd-questions@FreeBSD.ORG Mon Oct 31 14:24:37 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56326106564A for ; Mon, 31 Oct 2011 14:24:37 +0000 (UTC) (envelope-from camal@rabita.az) Received: from newmail.rabita.az (newmail.rabita.az [85.132.70.6]) by mx1.freebsd.org (Postfix) with ESMTP id F13198FC1C for ; Mon, 31 Oct 2011 14:24:36 +0000 (UTC) Received: from localhost (localhost.9may.az [127.0.0.1]) by newmail.rabita.az (Postfix) with ESMTP id 03FE414D81F for ; Mon, 31 Oct 2011 17:57:23 +0400 (AZT) X-Virus-Scanned: amavisd-new at 85.132.70.6 Received: from newmail.rabita.az ([127.0.0.1]) by localhost (85.132.70.6 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ct1PJLYqWr+B for ; Mon, 31 Oct 2011 17:57:22 +0400 (AZT) Received: from QabrielPC (unknown [188.72.189.189]) by newmail.rabita.az (Postfix) with ESMTP id 86A3B14D815 for ; Mon, 31 Oct 2011 17:57:22 +0400 (AZT) From: "Camal" To: Date: Mon, 31 Oct 2011 17:56:52 +0400 Message-ID: <000301cc97d4$f2007940$d6016bc0$@az> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcyX1PFG/gud73CQSmiVTtYd2dldYQ== Content-Language: en-us X-Mailman-Approved-At: Mon, 31 Oct 2011 15:50:27 +0000 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: came error from nc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2011 14:24:37 -0000 Hi. My name is Jamal. I am from Azerbaijan. When I tried open local port with "nc" and send to him "/usr/local/bin/bash" came error. nc -l 12345 -e /bin/bash , Error -> nc: getaddrinfo: servname not supported for ai_socktype in /etc/resolv.conf and /etc/hosts files checked all of was right. Why is it so?