Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Ubuntu terminal command - see the port occupied and off     - Easy to install CentOS 6.6 desktop environment (Linux)

- C / C ++ language variable scope: local variables, global variables, file-level variables (Programming)

- Oracle database file path changes (Database)

- Two programs HAProxy + Heartbeat (note, the secondary server vip, normal HAProxy boot method) (Server)

- CentOS 7 source code to compile and install Nginx process record (Server)

- Four Methods of Self - Learning Linux (Linux)

- Linux --- process handle limit summary (Linux)

- Elementary OS Freya global menu (Linux)

- Shorewall firewall settings under Ubuntu (Linux)

- SLF4J Tutorial (Programming)

- Source code is installed MySQL 5.6.28 (Database)

- CentOS7 Minimal minimize installation and then install the GNOME graphical interface (Linux)

- Linux installation is larger than 2TB (UEFI interface) hard disk solution (Linux)

- How to determine whether the Linux server was hacked (Linux)

- The file name is garbled or deleted files with special characters under Linux (Linux)

- Bootable ISO image using GRUB (Linux)

- Linux system security Comments (Linux)

- Mutt - an email client that sends messages through the terminal (Linux)

- The difference Docker save and export commands (Linux)

- Linux dynamic libraries and Guide (Programming)

 
         
  Ubuntu terminal command - see the port occupied and off
     
  Add Date : 2018-11-21      
         
         
         
  Ubuntu Check port usage, use the netstat command:

View Service port is already connected (ESTABLISHED)

netstat -a

See all service ports (LISTEN, ESTABLISHED)

netstat -ap

Check the specified port, you can combine grep command:

netstat -ap | grep 8080

  You can also use the lsof command:

lsof -i: 8888

To turn off the use of this port, the use of the corresponding pid kill +

kill -9 PID number

ps: kill a process id is to send a signal. The default signal sent is SIGTERM, the signal sent by kill -9 is SIGKILL, namely exit. exit signal is not blocked by the system, so kill -9 can successfully kill the process.
     
         
         
         
  More:      
 
- Installation configuration CUDA under Ubuntu 14.04 (Linux)
- How to use the DM-Crypt encryption Linux File System (Linux)
- PostgreSQL Stream Configuration (Database)
- Simple solution CC attack under Linux VPS (Linux)
- Repair Chrome for Linux is (Linux)
- CentOS set up FTP server (Server)
- Gentoo: startx problem appears Failed to load module (Linux)
- 10 Regulation of painless SQL Schema (Database)
- Nginx-1.9.7 TCP reverse proxy (Server)
- Android developers learning Adapter (data adapter) (Programming)
- xCAT error Unable to dispatch hierarchical sub-command to NORESOLUTION: 3001 (Linux)
- Ubuntu font settings: Using Windows Font (Linux)
- Writing Better Bash build script 8 (Programming)
- How to protect the Apache website under Linux system (Linux)
- Use 3G wireless network card under Linux (Linux)
- Log4Net (Linux)
- Install Apache streaming media services on CentOS 6.4 (Server)
- How to disable IPv6 in the CentOS 7 (Linux)
- Configuring the PXE server in Ubuntu 14.04 (Server)
- The Linux disguised as windows to make the system more secure (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.