From owner-freebsd-questions@FreeBSD.ORG Mon Apr 9 15:34:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4840F16A40E for ; Mon, 9 Apr 2007 15:34:10 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 1DCEC13C46C for ; Mon, 9 Apr 2007 15:34:10 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pgh.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 6B582EBC76; Mon, 9 Apr 2007 11:34:09 -0400 (EDT) Date: Mon, 9 Apr 2007 11:34:08 -0400 From: Bill Moran To: "Siju George" Message-Id: <20070409113408.065861a3.wmoran@potentialtech.com> In-Reply-To: References: X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.11; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd list Subject: Re: command to inentify the process that is listening in a port. 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, 09 Apr 2007 15:34:10 -0000 In response to "Siju George" : > > How Do you actually Identify what process is listening on a TCP/IP port? > "nmap" does not usually give the right answer. > There should be some command that can be run on the local host for > identification right? sockstat -4 Various magical combinations of switches to netstat will get you there as well. -- Bill Moran http://www.potentialtech.com