From owner-freebsd-questions@FreeBSD.ORG Sat Mar 17 11:03:34 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 6BE3E16A403 for ; Sat, 17 Mar 2007 11:03:34 +0000 (UTC) (envelope-from mike@urgle.com) Received: from anchor-fallback-94.mail.demon.net (anchor-fallback-94.mail.demon.net [194.217.242.94]) by mx1.freebsd.org (Postfix) with ESMTP id 37F0113C457 for ; Sat, 17 Mar 2007 11:03:34 +0000 (UTC) (envelope-from mike@urgle.com) Received: from anchor-post-35.mail.demon.net ([194.217.242.85]:3260 "EHLO anchor-post-35.mail.demon.net") by anchor-fallback-94.mail.demon.net with ESMTP id S2140674AbXCQKD1 (ORCPT ); Sat, 17 Mar 2007 10:03:27 +0000 Received: from 80.177.40.57.urgle.com ([80.177.40.57]) by anchor-post-35.mail.demon.net with esmtp (Exim 4.42) id 1HSVkz-0001eb-IV; Sat, 17 Mar 2007 10:03:25 +0000 Message-ID: <45FBBAC0.8010901@urgle.com> Date: Sat, 17 Mar 2007 09:54:08 +0000 From: Mike Bristow User-Agent: Thunderbird 1.5.0.9 (X11/20070212) MIME-Version: 1.0 To: Halil Guven References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-9; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@FreeBSD.org Subject: Re: Hi ; 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: Sat, 17 Mar 2007 11:03:34 -0000 Halil Guven wrote: > Dear Sırs > > I want to open in FreeBSD program 21,443,11905,11907,12341 15501 > ports.How can i do these. > > Please inform me and thanks in advance of your help. If you would like to work out what program is listening on a given port, or is connected on a given port, (you might have run netstat -an | grep LISTEN and you'd like to work out what is listening on a particular port), you can use 'sockstat', which will tell you the user, process ID, and program associated with every network connection. I'm not sure if I've answered your question, though!