Difference between revisions of "Netstat: melihat port yang aktif"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: Sumber: http://linuxers.org/howto/how-find-out-active-connections-or-which-ports-are-openlistening-linux How to find out Active Connections or which Ports are open/listening on Linux W...) |
Onnowpurbo (talk | contribs) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
| + | 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== | |
| − | + | * 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