Re: how to check which list of port is open on my pc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kaushal Shriyan a écrit :
> On 7/6/06, yogesh@xxxxxxxxxxxxxxx <yogesh@xxxxxxxxxxxxxxx> wrote:
> 
>>
>> hoew to check the list of port open in my pc
>>
>> on linux pc
>>
>> -- 
>> fedora-list mailing list
>> fedora-list@xxxxxxxxxx
>> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>>
> 
> 
> Hi Yogesh
> 
> #nmap localhost
> 
This will give you the list of open ports from "inside", which could be
different if you use nmap from "outside" (ie a machine which is not on
your local network. Example from my machine:

# nmap localhost
(The 1662 ports scanned but not shown below are in state: closed)
PORT      STATE SERVICE
22/tcp    open  ssh
25/tcp    open  smtp
53/tcp    open  domain
111/tcp   open  rpcbind
631/tcp   open  ipp
903/tcp   open  iss-console-mgr
935/tcp   open  unknown
953/tcp   open  rndc
2049/tcp  open  nfs
19150/tcp open  gkrellmd
50000/tcp open  iiimsf
50002/tcp open  iiimsf

And if I start nmap from an external machine:

$ nmap -P0 xxx.xxx.xxx.xxx
(The 1642 ports scanned but not shown below are in state: filtered)
PORT     STATE  SERVICE
22/tcp   open   ssh
25/tcp   closed smtp
80/tcp   closed http
113/tcp  closed auth
135/tcp  closed msrpc
137/tcp  closed netbios-ns
138/tcp  closed netbios-dgm
139/tcp  closed netbios-ssn
143/tcp  closed imap
412/tcp  closed synoptics-trap
443/tcp  closed https
445/tcp  closed microsoft-ds
993/tcp  closed imaps
995/tcp  closed pop3s
1214/tcp closed fasttrack
3531/tcp closed peerenabler
4672/tcp closed rfa
6699/tcp closed napster



-- 
François Patte
UFR de mathématiques et informatique
Université René Descartes
http://www.math-info.univ-paris5.fr/~patte


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux