First of all, standing on the shoulders of giants, the first half is the previous article. I am lucky to be guided by this article, set successfully, and pass the test. The second part is the configuration of the serial port tool. Original address:
First of all, standing on the shoulders of giants, the first half is the previous article. I am lucky to be guided by this article, set successfully, and pass the test. The second part is the configuration
Obtain the COM port number mapped to the serial port
Background: Recently, due to project requirements, you need to operate the SMS cat. After the SMS cat is inserted into the computer, it will map the COM port based on the current PC status. Here, you need to dynamically obtain the COM port mapped by the SMS cat.
Prog
Normal database connection string configuration, which is the case where the MSSQL server port is 1433 (default).But sometimes, for the database server to be secure, the port is changed to something else, and then connecting to the database may report the following error:An error occurred while establishing a connection to the server. When you connect to SQL Server 2005, this failure may be caused by SQL Se
Database port number and other configuration (transfer), Database port number Configuration
I. Oracle
Driver: oracle. jdbc. OracleDriver
URL: jdbc: oracle: thin: @
Port_number: port number. The default value is 1521.
Ii. SQL Server
Driver: com. microsoft. jdbc. sqlserver. SQLServerDriver
URL: jdbc: microsoft: sqlserver: //
Port_number:
Reprinted from: http://www.cnblogs.com/rollup/archive/2013/04/24/3039672.htmlStart-run--cmd Enter the command prompt input Netstat-ano to see all the connected PID after the PID in the task Manager to find the corresponding program if the Task Manager does not have the PID , you can choose "View"-"Select column in Task Manager" "Often, we start the application when the system needs to find the port is occupied by other programs, how to know who owns t
If you have to use a non-80 port to build the site, you can use the Phpwamp built-in function "One click to clear the domain name of non-80 port"The case uses the "Go Port" function module which I developed the pure green PHP integration Environment Phpwamp , the version number is 8.1.8.8Case Demo:Click on the Common tool to open the "remove domain non-80
Environment:Alicloud ok6410a Development Board, Windows ce6.0 System
Recently, GPRS communication has been implemented, but the GPRS module (q2403a) on hand is a five-line serial port (rxd, txd, Gnd, RCS, CTS), and the boss is reluctant to buy new modules. Therefore, you need to change the debug serial port COM1 to a common serial port (this is also the 5-line se
Centos command to view port usage, for example, to view port 80 usage, use the following command:
Lsof-I TCP: 80
List all ports
Netstat-ntlp
1. Enable the port (take port 80 as an example)
Method 1:
/Sbin/iptables-I input-P TCP -- dport 80-J accept write Modification
/Etc/init. d/iptables save changes
Service i
You know, you get used to ipconfig in windows, and it is a lot of trouble to view IP addresses in centos;
The information collected today focuses on IP port problems:
View IPIfconfig eth0 → view the IP address, but the output information is moreIfconfig | grep 'bcast' → the output information should be much clearer.
Modify IP address and take effectEdit/etc/sysconfig/network-scripts/ifcfg-eth0 and follow the settings belowDevice = eth0Boo
PHP implementation of TCP port detection method, PHP implementation of TCP port
This paper describes the method of implementing TCP port detection in PHP. Share to everyone for your reference. Specific as follows:
The program can confirm that the current port is available:
I hope this article is helpful to everyone's
Welcome to the independent blog:
Http://junkor.info
First of all, standing on the shoulders of giants, the first half is the previous article. I am lucky to be guided by this article, set successfully, and pass the test. The second part is the configuration of the serial port tool. Original article address
$1. Download: sudo apt-Get install minicom2, insert USB to serial port, terminal input: dmesg | grep
Use virtual machines to implement port forwarding and virtual machine port forwarding
1. application scenarios
Break through the Internet restrictions (for example, restrict access to external networks within the company, but open some ports, you can use some open ports to achieve port redirection)
Remote Desktop redirection
NC redirection to get Shell
2. ex
Open the specified port in Linux, and specify the port in linux
After tomcat is installed in Linux, the input address http: // ip address on the client cannot be accessed, and port 80 cannot be accessed.
The Linux Firewall disables port 80 by default. Therefore, to access por
firewall on and off (effective immediately, fail after reboot): $ sudo service iptables start #开启 $ sudo service iptables stop #关闭 firewall on and off (takes effect after reboot): $ sudo chkconfig iptables on$ sudo chkconfig iptables off To open the relevant port : Modify the/etc/sysconfig/iptables file to add the following: -A input-p tcp-m state--state new-m TCP--dport 22-j ACCEPT After modifying the iptables, restart the firewall to take effect:
To view a process that uses a portThe simplest commands are:-i :端口号
1
If you want to use Administrator privileges then it is:sudo lsof -i :端口号
1
So looking at a process using a port number 3000 can be used:lsof -i :3000
1
You can also use:sudo lsof -i :3000
1
The results of the terminal are as follows:HarveydeMac-mini:~ harvey$ sudo lsof -i :3000COMMAND PID USER FD TYPE DEVICE
Disable window port 445 and window port 445
First, let's check what ports are currently open to the system. How can we check them? Call the cmd command line program and enter the command "netstat-na.
Next, we can find that the current system has opened ports 135, 445, and 5357, And the status is all in the Listening status "Listening".
Then, after confirming that your system has opened
When building mantis, there will always be 80 ports occupied. See the other steps are: 1, cmd run Netstat-ano see what 80 ports are occupied, and then in the Task Manager to find the corresponding end process. Usually the system is occupied, right-click End process can not end, the end of the process tree, the direct blue screen ~So I thought of modifying the port, not with them Rob 80 port, so I set up 808
Wan Port Setup method, the social routers are road 1 and Road 2 respectively1-Way 2 LAN port address changed to 172.16.1.1, restart2 notebook changed to 172.16.1.X, then enter settings, on the inside WAN address is set to static address 192.168.1.x, restartLan Setup Method:1 access to the management interface of Road 2, turn off DHCP2 Modify the LAN port address
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.