1. you can use ~ $ Netstat-anp to check which ports are opened. (Note: adding parameter-n will convert the application to Port display, that is, address in digital format, such as: nfs-2049, ftp-21, so you can enable two terminals, 1 corresponds to the port number corresponding to the program) 2. then you can use ~ $ Lsof-I: $
other computers (IP Address: 192.168.1.1, check the status of the port in tcpview. The section in the black text below is truncated from the tcpview. 1. The listening status is in the listening status after the FTP service is started. When the State is displayed as listenin
This topic describes how to recover the common status of the POS port of a vswitch. Many problems may occur during contact and recovery of the POS port of the vswitch. How to solve these problems has become necessary for everyone, the following describes how to check the connection settings, restore the physical
RHEL7 modifies the SSH default port and SELinux running status, rhel7selinux
After RHEL7 is installed, the SSH service is enabled by default for remote configuration, but the default port 22 is not safe. Generally, we do not recommend that you use the default port, so you can modify the SSH default
this time, I found that the normal workstation can access the Internet immediately.
From the troubleshooting process above, we cannot rashly use the method of replacing the NIC device to solve the fault if the NIC device is abnormal in the future, this can improve the efficiency of solving network faults, but it cannot take full advantage of the residual heat of the NIC equipment.
Let alone solve the fault caused by mismatch of the duplex mode of the NIC. Instead, we should be good at starting
You may often encounter various router problems when working on network engineering. However, in addition to the configuration of a router, a more common method is to view network faults through the router port status. The following is a summary of my experience and I hope it will be useful to you.
Check the status of
One of the simplest operations:sudo UFW status (if you are root, remove SUDO,UFW status) to check the status of the firewall, my return is: inactive (default is inactive).sudo UFW version firewall versions:UFW 0.29-4UBUNTU1Copyright 2008-2009 Canonical Ltd.Ubuntu system has UFW installed by default.1. Installationsudo
Ubuntu11.04 default is UFW (UFW is the abbreviation of uncomplicated firewall, not complex firewalls, cumbersome parts of the setup or need to go to the iptables) firewall, has supported the interface operation. Run the UFW command at the command line to see a list of possible actions to promptOne of the simplest operations:sudo UFW status (if you are root, remove SUDO,UFW status) to
Comments: Ubuntu11.04 the default is UFW (ufw is short for uncomplicated firewall, which is not complex firewall. You still need to go to iptables for complicated settings). Interface operations are supported. Run the ufw command on the command line to see a series of operations that can be performed.
The simplest operation:Sudo ufw status (if you are root, remove sudo and ufw status) to
0 52 ::ffff:192.168.42.128:22 ::ffff:192.168.42.1:43561 ESTABLISHED 6198/2
[root@DB-Server Server]#
As shown above, this tool does not feel as concise and clear as nmap. Of course, nmap is not powerful.
3: lsof tool detects open ports
[root@DB-Server Server]# service mysql start
Starting MySQL......[ OK ]
[root@DB-Server Server]# lsof -i:3306
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
mysqld 7860 mysql 15u IPv6 44714 TCP *:mysql (LISTEN)
[root@DB-Server Server]# service mysql s
Http://blog.csdn.net/wudiyi815/article/details/7473097
Premise: First, you must know that a port does not exist independently and is attached to a process. If a process is enabled, the corresponding port is enabled. if the process is disabled, the port is closed. If a process is enabled again next time, the corresponding
Ubuntu11.04 default is UFW (UFW is the abbreviation of uncomplicated firewall, not complex firewalls, cumbersome parts of the setup or need to go to the iptables) firewall, has supported the interface operation. Run the UFW command at the command line to see a list of possible actions for the prompt.The simplest operation: sudo UFW status (if you are root, remove SUDO,UFW status) to
View the port status in netstat in CentOS
When using Linux, you need to know which ports are open in the current system, and check the specific processes and users that open these ports. You can use the netstat command to perform a simple query.
Parameters of the netstat command are described as follows:
-T: indicates that the TCP
-c100000,200000}Note: The definition service is: The max_check_attempts parameter is recommended to be modified to 6 (default is 4), because this plug-in must run at least 3 to 4 times or more to be normal, read the data once and record in the temporary file, as follows:650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7F/44/wKioL1cYaiLROoWTAAEACZkTARQ563.png "title=" 1.png " alt= "Wkiol1cyailroowtaaeaczktarq563.png"/>To check and reload the
="store",dest="start_port",default='',type=int) parser.add_argument('--end-port',action="store",dest="end_port",default='',type=int) given_args = parser.parse_args() host, start_port ,end_start = given_args.host , given_args.start_port,given_args.end_port scan_ports(host,start_port,end_start)
Use python to check active hosts
The device is not very sensitive to the survival
1. The computer port is the outlet for communication between the computer and the outside world,
2. Run the netstat command in Windows to check the port opened on the machine. Go to the command line and use the parameters a and N of the netstat command. The result is as follows:
C:/> netstat-
Active connections
PROTO local address foreign address State
TCP 0
was started.
If you do not start, you need to start the following command:
> Sqlplus/as SYSDBA
Sql> Startup
Sql> exit
Check if Oracle listening is started.
> Lsnrctl Status
Querying to listener information indicates that the listener has started.
If you do not start, you need to start the following command:
> Lsnrctl Start
Check that the listening
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.