Melihat port yang digunakan oleh aplikasi di Windows

Request :

  • Melihat port 80 digunakan oleh aplikasi apa ?
  • Dan bagaimana mematikannya

Solution:

  • Menggunakan netstat

Netstat (network statistics) is a command-line tool that displays network connections (both incoming and outgoing), routing tables, and a number of network interface statistics. It is available on Unix, Unix-like, and Windows NT-based operating systems.

  • CMD—> netstat –ano

Penjelasan parameter

-a : Displays all active connections and the TCP and UDP ports on which the computer is listening

-n : Displays active TCP connections, however, addresses and port numbers are expressed numerically and no attempt is made to determine names.

-o : Displays active TCP connections and includes the process ID (PID) for each connection. You can find the application based on the PID on the Processes tab in Windows Task Manager.

  • Catat PID (Process ID) Aplikasi/Service yang menggunakan port 80.
  • Masuk Task Manager –> Klik View –> Select Column –> checklist PID
  • Sorted , kemudian end task aplikasi/service dengan PID yang telah dicatat

Disable Task Manager di Xp & win2rebu

Langkah 1 (registry)

Buat Registry sbb:

1. Start–> Run –> Regedit

2. Masuk ke HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\

3. Buat key System ,lalu buat DWORD file DisableTaskMgr kasih nilai 1

4. Pathnya jadi begini HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr

taskmgr

Langkah 2 (Group Policy)

1. Start –> Run –> gpedit.msc

2.  Pilih User Configuration –> Administrative Templates –> System –> CTRL+ALT+DEL options–> Remove Task Manager

disable