<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Port usage in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/port-usage/m-p/2556614#M673</link>
    <description>Assuming I have you right here, another method to track port usage is the use of third party port scanners. You need to exercise a degree of caution on how you use these though since their main objective is to detect security breaches - you wouldn't want to upset those legitimately on your network.&lt;BR /&gt;If this sounds like what you need, check out Nessus or Courtney to see if they are suitable.</description>
    <pubDate>Wed, 25 Jul 2001 07:35:59 GMT</pubDate>
    <dc:creator>Mike Brown_3</dc:creator>
    <dc:date>2001-07-25T07:35:59Z</dc:date>
    <item>
      <title>Port usage</title>
      <link>https://community.hpe.com/t5/operating-system-linux/port-usage/m-p/2556612#M671</link>
      <description>I am running PoPTop vpn server on my redhat 7.0 server, and I keep getting a "creatHostSocket address already in use" error. This means that some other program is using that port. When I type netstat -a it only lists that one program for the port. Is there a way to see what ports various programs are using? Any help would be appreciated.  By the way, i believe the port is 1723</description>
      <pubDate>Tue, 24 Jul 2001 20:14:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/port-usage/m-p/2556612#M671</guid>
      <dc:creator>Jeffrey S. Sims</dc:creator>
      <dc:date>2001-07-24T20:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Port usage</title>
      <link>https://community.hpe.com/t5/operating-system-linux/port-usage/m-p/2556613#M672</link>
      <description>Jeffery,&lt;BR /&gt;&lt;BR /&gt;Unfortunately I don't have my linux system in front of me to test this, but the following script should tell you which processes are listening on a port.&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh &lt;BR /&gt;&lt;BR /&gt;for pid in `ps -ef|grep -v UID|awk '{ print $2 }'| sort -rn`; do &lt;BR /&gt;    /usr/sbin/lsof -p $pid|grep LISTEN &lt;BR /&gt;done &lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Shane Hjorth.</description>
      <pubDate>Wed, 25 Jul 2001 03:23:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/port-usage/m-p/2556613#M672</guid>
      <dc:creator>Shane Hjorth</dc:creator>
      <dc:date>2001-07-25T03:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Port usage</title>
      <link>https://community.hpe.com/t5/operating-system-linux/port-usage/m-p/2556614#M673</link>
      <description>Assuming I have you right here, another method to track port usage is the use of third party port scanners. You need to exercise a degree of caution on how you use these though since their main objective is to detect security breaches - you wouldn't want to upset those legitimately on your network.&lt;BR /&gt;If this sounds like what you need, check out Nessus or Courtney to see if they are suitable.</description>
      <pubDate>Wed, 25 Jul 2001 07:35:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/port-usage/m-p/2556614#M673</guid>
      <dc:creator>Mike Brown_3</dc:creator>
      <dc:date>2001-07-25T07:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Port usage</title>
      <link>https://community.hpe.com/t5/operating-system-linux/port-usage/m-p/2556615#M674</link>
      <description>Shane, &lt;BR /&gt;&lt;BR /&gt;The following is the output from your script. There doesn't seem to be anything other than pptpd using 1723, but maybe this will help.&lt;BR /&gt;&lt;BR /&gt;pptpd 582 root 4u IPv4  743 TCP *:1723 (LISTEN)&lt;BR /&gt;sshd 537 root 3u IPv4 687  TCP *:ssh (LISTEN)&lt;BR /&gt;xinetd 522 root 3u IPv4 671 TCP *:telnet (LISTEN)&lt;BR /&gt;xinetd 522 root 4u IPv4 672 TCP *:ftp (LISTEN)&lt;BR /&gt;identd 490 root 3u IPv4 637 TCP *:auth (LISTEN)&lt;BR /&gt;identd 489 root 3u IPv4 637 TCP *:auth (LISTEN)&lt;BR /&gt;identd 487 root 3u IPv4 637 TCP *:auth (LISTEN)&lt;BR /&gt;identd 485 root 3u IPv4 637 TCP *:auth (LISTEN)&lt;BR /&gt;identd 483 root 3u IPv4 637 TCP *:auth (LISTEN)&lt;BR /&gt;&lt;BR /&gt;And as far as using a port scanner, to my knowledge they only show what ports are open, I already know 1723 is open, I just want to know what programs are trying to use it.&lt;BR /&gt;&lt;BR /&gt;Thanks and hope this helps to find a solution.&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Jul 2001 14:16:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/port-usage/m-p/2556615#M674</guid>
      <dc:creator>Jeffrey S. Sims</dc:creator>
      <dc:date>2001-07-25T14:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Port usage</title>
      <link>https://community.hpe.com/t5/operating-system-linux/port-usage/m-p/2556616#M675</link>
      <description>Hey,&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;fuser 1723/tcp&lt;BR /&gt;to see what program is using that port using tcp and,&lt;BR /&gt;&lt;BR /&gt;fuser 1723/udp&lt;BR /&gt;to see what program is using that port using udp.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 05 Aug 2001 19:02:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/port-usage/m-p/2556616#M675</guid>
      <dc:creator>Terry Rodery</dc:creator>
      <dc:date>2001-08-05T19:02:56Z</dc:date>
    </item>
  </channel>
</rss>

