Problem Description:The program has been working normally, today the computer re-made the system, and then began to appear this problem: "The given port name does not start with com/com or resolves to a valid serial port." Serial debugging assistant is also not used. Serial cable is not a problem, it is not a hardware problem, the program is not a problem (normal operation on other computers).Exception info
Concise Port Scan script and concise Port Scan script
Script Name: monitor_port.pl
Purpose: scan for a specific port.
Script:
123456789101112131415161718192021222324252627282930313233343536373839404142434445
#!/usr/bin/envperl($sec,$min,$hour,$mday,$mon,$year)=(localtime)[0..5];($sec,$min,$hour,$mday,$mon,$year)=(sprintf("%02d",$sec),sprintf("%02d",$m
Enable port in CentOS7 and enable port in CentOS7Enable Port:Firewall-cmd -- zone = public -- add-port = 80/tcp -- permanentCommand description:-- Zone # Scope-- Add-port = 80/tcp # add a port in the format of port/communication p
[Reprint] How to receive a complete data packet parsing in the serial port, serial port data packet
The serial port is used as the transmission medium to introduce how to send and receive a complete data packet. The process involves packaging and unpacking. A good packet transmission mechanism is designed to ensure the stability and correctness of data transmissi
Tomcat multi-port multi-application and tomcat port applicationTomcat starts from D:/Tomcat5.0/conf/server at startup. xml to obtain some basic information about server startup. in xml, you will see this node, as shown below:The first node under the node defines the listening port. The above example is 8080. For the node itself, the value of its attribute name is
Purpose: The integration of Apache and Tomcat allows both Java and PHP projects to share port 80. when accessing a website, you do not need to add a port number in the address bar.Environment Description: Linux CentOS 32-bitApache 2.2.2Tomcat 7.0.37Preparations: Download mod_jk.soHttp://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/Open the link and find the appropriate file to download. Afte
This indicates that port 80 (which is the Tomcat listening port) has been occupied by other programs. First, run the "netstat-ano" command to display the port status, and then find the port in the result, then, search for the corresponding program in the display of the input "tasklist" command based on its PID, And you
Apache port 80 occupation problems, apache80 port occupation
After installing mongodb today, apache cannot be started.
Command Line services. msc open the service
Start the Apache2a service in the service with the error code 1.
1 reported in many cases for online queries
You can use the command line to execute httpd.exe in apache bin for more information.
AH00548: NameVirtualHost has no effect and will be r
Configure listening _ 1521 port occupation, and listening _ 1521 port occupation
Statement:Original Works are from the blog of "Deep Blue blog". You are welcome to repost them. Please indicate the source when you repost them. Otherwise, the copyright will be held legally responsible.
Deep Blue blog: http://blog.csdn.net/huangyanlong/article/details/43935361Premise cashback
Changed the host name from hyldb t
Set the open port of the CentOS firewall and the port of the centos FirewallWhen using CentOS, CentOS firewall sometimes needs to change the settings. The CentOS firewall is enabled by default. You can set the open port of the CentOS firewall as follows:
Open the iptables configuration file:Vi/etc/sysconfig/iptablesNote the following when modifying the CentOS fir
In Linux, you may encounter minor problems when configuring the firewall to enable port 80 and port 3306.Zookeeper
Vi/etc/sysconfig/iptables
-A input-m state-state NEW-m tcp-p tcp-dport 80-j ACCEPT (allow port 80 to pass the firewall)-A input-m state-state NEW-m tcp-p tcp-dport 3306-j ACCEPT (allow port 3306 to pass th
Modify the Tomcat port number method and the tomcat port number
Original Works are from the blog of "Deep Blue blog". You are welcome to reprint them. Please note the following source when reprinting them. Otherwise, you will be held legally liable for copyright.
Deep Blue blog: http://blog.csdn.net/huangyanlong/article/details/42739693
(1) Search for the server. xml file in the conf path. The path is
In ubuntu, Tomcat is bound to port 80, and ubuntutomcat is bound to port 80.
Reprinted from: http://www.cnblogs.com/mabaoqing/p/7808354.htmlA problem occurred when deploying your own small project. In the tomcat server. xml modification, the port 8080 was changed to port 80. When you restart tomcat to access it direct
Redboot IntroductionRedboot is designed for Embedded debugging and startup environments. It is an Ecos-based application that uses the hardware abstraction layer (HAL) of eCos as its basis. It is a basic function as bootloader, but can be used in any embedded system or any embedded real-time operating system. It can also be used for debugging during the product development cycle or for flash or network startup in published products. Features:
STARTUP script support;
Management and control of
Serial Port printing information can be added to any code to facilitate debugging. You do not have to have a printf statement. This can be implemented in a simple way. First, you need to complete the serial port register initialization, including the input and output enabling, data bit and stop bit, baud rate, interrupt priority, and so on.
Typedef unsigned char uchar;
(1) Output a single ASCII character. B
This is because you want to use Navicat to connect to the database and find that the connection is notBy looking at a lot of data and testing multiple times to find out because the firewall is not configured with Port 3306Words don't say, open the whole, similarly, 80 port is also configured, first enter the firewall configuration fileshell># Vim/etc/sysconfig/iptablesAdd the following two rules:-A input-m
I often use it to detect the remote Windows Server IP address, because it is not a fixed IP address, the server's IP address will often change, but there is a rule, only within a network segment changes, so that the determination of IP address to bring convenience.1. If Nmap is not installed, installYum Install-y Nmap2. Scan the Remote Desktop Connection port for the specified network segmentnmap-st-p3389 218.206.112.0/243. If you feel the output is t
CentOS View port occupancy commands, such as viewing 80 port occupancy Use the following command:
Lsof-i tcp:80List all ports
Netstat-ntlp1, open the Port method one:
/sbin/iptables-i input-p TCP--dport 80-j ACCEPT Write modify
/etc/init.d/iptables save modify
service Iptables Restart reboot firewall, modify to take effectMethod Two:
Vi/etc/sysconfig/iptab
We know, according to Ps-aux | grep xxx is to quickly realize the process name and process number of mutual check, so we only say process number PID on the line. In the following example, the process PID is resident.
1. According to process PID Check port:
Lsof-i | grep pid
2. According to the port search process (an interview has also been tested):
Lsof-i:port
3. According to process PID Check
Example of the multi-threaded Port Scan function implemented by python: python Port Scan
This example describes the multi-threaded port scanning function implemented by python. We will share this with you for your reference. The details are as follows:
The following program provides Python code for multi-thread scanning of a given ip host.
#!/usr/bin/env python#e
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.