Difference between revisions of "Netstat: melihat port yang aktif"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 21: | Line 21: | ||
* http://linuxers.org/howto/how-find-out-active-connections-or-which-ports-are-openlistening-linux | * http://linuxers.org/howto/how-find-out-active-connections-or-which-ports-are-openlistening-linux | ||
+ | |||
+ | |||
+ | ==Pranala Menarik== | ||
+ | |||
+ | * [[netstat]] |
Latest revision as of 04:39, 27 October 2018
Sumber: http://linuxers.org/howto/how-find-out-active-connections-or-which-ports-are-openlistening-linux
Melihat port yang di listen
netstat -plnt # listen semua netstat -n -A inet # listen semua lsof -i # listen semua netstat -n -A inet -t # listen TCP netstat -n -A inet -u # listen UDP lsof -i4TCP # listen IPv4 TCP
Contoh memfilter
netstat -plnt | grep ':80' # web netstat -A inet -n -p | grep 1413 # grep port socket ps -e | grep firefox # grep firefox PID
Referensi