In Windows and linux, killing tomcat processes can also solve the problem of occupying other ports.
1. application scenarios
In Windows or linux, when we start a tomcat server, we often find that port 8080 is occupied, and we do not know how to stop the tomcat server.
2. Killing processes in the window environment
1. First, find the PID of the process that occupies port 8080 (Tomcat is port 8080 by default. If you have modified the tomcat listening po
Linux open ports
In Linux, the server cannot be connected when software access is installed. In this case, check whether the corresponding port is enabled. For example, after svn is installed, unable to connect:
When the svn service is started, you Can use commands on the server to check out the files, but the files cannot be checked out on other computers. The following prompt is displayed: "svn: Can't connect to host '*. *. *.. I checked the firewal
Introduction to Linux ports and introduction to linux
1. view the port range
[root@lry proc]# cat /proc/sys/net/ipv4/ip_local_port_range 3276860999
32768 when used by the system, if the port above 6099 is set, it indicates that the system failed.
2. sysctl. conf configuration file
Most kernel parameters are stored in the/proc/sys directory and can be modified during system running. However, restarting the machine fails. /Etc/sysctl. conf is an interfa
Open ports of Linux Firewall
I. Linux firewall configuration files and commands
1. RedHat Linux System
This type of system contains various derivatives and related versions of red hat, including RHEL, CentOS, and Fedrora.
Firewall Configuration File:/etc/sysconfig/iptables-config
Service Operation Command: etc/init. d/iptables service iptables {start | stop}
Temporary change command: iptables-save iptables-restore and so on
2. SUSE System
Th
File transmission through serial ports between the embedded Linux System and the host
I think if I want to download something from my PC to the embedded Linux System of the Development Board, many people will first think of using network tools such as TFTP SFTP to download it from the network port. But if the network is not used, what should I do if I can only download it through the serial port? At this time, there are two tools that can help you: zm
Abstract:
In view of the slow transmission speed and difficult network connection of traditional devices, a Data Conversion System for serial ports and Ethernet is proposed using w5300 and c8051f120 single chip microcomputer. the RS232 and RS485 chips are used to receive and send low-speed serial data, the single-chip microcomputer c8051f120 is used as the core processing chip, and the w5300 chip is used to send and receive Ethernet data. A specific
Mac uses masscan to scan ports. I think the scanning effect is between nmap and zmap.
Download, decompress, cd, and make. Then, copy the executable file masscan in the bin to/usr/local/bin for convenient calling.
Root permission execution
Masscan-p 80 8/16 ..-oX mas. log
The scan results are satisfactory. It takes about half an hour and it is faster than nmap. It is much slower than zmap, probably because of the packet sending rate, zmap scan is t
available, shutting downAh00015:unable to open logsYou can see that the error is caused by a socket binding error, which can be determined that the 80 port of Apache is occupied. So use the command Netstat-ano to see exactly which program is taking up port 80, the result of Port lookup:See 80 port by PID 4 system process Occupy, oh, I want to say a word I wipe what ghost +_+. Think carefully, the general program will not occupy 80, then use the command netsh http show servicestate to see the cu
When we use the new server to set up a new host, often encounter the site can not access the situation, when asked about customer service, often told that the operating system does not open the default 80 port, please first determine whether 80 is open and determined not to be occupied. So, how do we open port 80?Method/Step
1Click: Start-Control Panel
2Select Firewall entry in the Control Panel, select Advanced Settings from the left menu
Right-click in the Inbound rule and select ne
The example in this article describes how Python detects TCP ports on remote servers. Share to everyone for your reference. Specific as follows:
Python detects the code of the remote server TCP port, which can be used as a server monitoring utility
#!/usr/bin/env python #coding: utf-8 #filename: tcp.py ' Author:gavingeng date: 2011-12-14 09:35:59 ' Import Socke T import sys normal=0 error=1 timeout=5 def Ping (ip,port,timeout=timeout): try: cs
Sometimes when installing the program, the XX port is occupied, you can use the cmd command to see what the program occupies1. Netstat-ano view the corresponding port corresponding program PIDFor example:
C:\>netstat-ano
Active Connections
Proto Local Address Foreign address State PID
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 1760
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:2967 0.0.0.0:0 LISTENING 660
TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING 1712
TCP 0.0.0.0:3934 0.0.0.0:0 LISTENI
First (found no effect after testing)C:\users\administrator>netstat-aon | Findstr:80See that port 80 is actually occupied. The PID is found to be 4, and the name is System. How to disable it?1. Open registry: regedit2. Find: Hkey_local_machine\system\currentcontrolset\services\http3. Find an item of type REG_DWORD Start, change it to 04. Restart the system, the systems process will not occupy 80 portsThe second KindThe reason is that the SQL is installed nativelyYou can try to stop the ReportSer
Two commands to find a program that occupies one of your portsStart----> Run---->cmd, or the WINDOW+R key combination to bring up the command window1,netstat-aon|findstr "49157"Look at the PID of the occupied port, and replace the following number with the one you want to view, enter the command, return, write down the last digit, PID, this is 6252.2, tasklist|findstr "6252" See the program name for the occupied port, and replace the following number with the PID you want to view; |
)sohu.com:POP3 Server address: pop3.sohu.com (port: 110)SMTP Server address: smtp.sohu.com (port: 25)Etang.com:POP3 Server address: pop.etang.comSMTP Server address: smtp.etang.comX263.net:POP3 Server address: pop.x263.net (port: 110)SMTP Server address: Smtp.x263.net (port: 25)yahoo.com.cn:POP3 Server address: pop.mail.yahoo.com.cn (port: 995)SMTP Server address: smtp.mail.yahoo.com.cn (port: 587)
Yahoo Mail POP3 SSL does not enable port for POP3 SSL enable port 995; SMTP SSL is not ena
A port -to-server conversion is achieved by using the destination Nat . 2.2.2.2 is the USG public interface address,192.168.104.251 is the address of the server that needs to be mapped. The configuration is as follows:ACL 3000Rule 5 Permit TCP destination 2.2.2.2 0 Destination-port range 10000 10200QuitFirewall Zone UntrustDestination-nat Address 192.168.104.251QuitThis article is from the "Lone wolf" blog, please make sure to keep this source http://yiliang.blog.51cto.com/936874/1765255USG 6330
Modifying a remote Desktop port requires two steps:1. Open the registry [hkey_local_machine\system\currentcontrolset\control\terminal Server\wds\rdpwd\tds\tcp], modify the value on the right Portnamber , the default value is 3389, modify it to the desired port, for example, 33092. Open the registry again [Hkey_local_machine\system\currentcontro1set\control\tenninal Server\winstations\rdp-tcp], Modify the value of the right portnamber, whose default value is 3389, and modify it to the desired por
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.