Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Ubuntu terminal command - see the port occupied and off     - Ubuntu 14.04 Fixed update information is outdated error (Linux)

- Hibernate Performance Optimization of reusing SessionFactory (Programming)

- SVN common commands (Linux)

- OpenSSL for secure transmission and use of skills of files between Windows and Linux (Linux)

- How Linux Log Analysis (Linux)

- Revive Adserver ad server installation on Ubuntu 15.04 / CentOS7 (Server)

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

- Spring AOP (Programming)

- Oracle Migration partition table (Database)

- Android Studio and Git Git configuration file status (Linux)

- After SSH change the default port, how to use Git (Linux)

- Linux system file directory structure Introduction (Linux)

- Share useful bash aliases and functions (Linux)

- Eclipse Android development environment installation (Linux)

- Java Network Programming Internet address lookup (Programming)

- Linux firewall anti-hacker disguise malicious attacks (Linux)

- Linux 6 install Oracle 11g (64bit) (Database)

- Cooling solutions Ubuntu system (Linux)

- Android components series Activity (Programming)

- Let OpenCV face detection score output codes (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:      
 
- How to contribute code to the GNU Project (Linux)
- Linux disk partition, format, mount the directory (Linux)
- Oracle RMAN backups of the control file backup (Database)
- Java abstract class instantiation (Programming)
- RAID disk array Description (Linux)
- CentOS 6.4 OpenNebula installation (Linux)
- Using BBED repair ORA-01190 error (Database)
- Samhain: Powerful intrusion detection system under Linux (Linux)
- Linux Network Programming - libnet Guide (Programming)
- Binary tree traversal recursive and non-recursive (cyclic) traversal achieve (Programming)
- How to install and use the malware detection tool LMD and ClamAV antivirus engine on Linux (Linux)
- Several Methods of SSH Auto - login (Linux)
- Teach you the Ubuntu Server enabled SSH multifactor authentication (Server)
- JDK installation and configuration environment variable under linuxb (Linux)
- PostgreSQL query lock and kill the process (Database)
- How to forcibly change the Linux system password on a regular basis (Linux)
- Let OpenCV face detection score output codes (Programming)
- Use Nginx as a load balancer (Server)
- Ubuntu install the camera driver (Linux)
- Java collections series (Programming)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.