Http://www.cnblogs.com/chenwenbiao/archive/2012/06/24/2559954.html1. Windows platform is executed under Windows console window: Netstat-nao | Findstr "9010"View Port command: Netstat-naoFind the port (9010) and the process PID command using that port: Netstat-nao | Findstr "
Turn from: http://www.ahlinux.com/start/cmd/527.html
The netstat command is a very useful tool for monitoring TCP IP networks, displaying routing tables, actual network connections, and status information for each network interface device, where I only use itsThe netstat command is a very useful tool for monitoring the TCP/IP network, which shows the routing table, the actual network connection, and the sta
1. View port usageRun the following command in the windows command line window:Netstat-aon | findstr" 8080"TCP 127.0.0.1: 80 0.0.0.0: 0 LISTENING 2448Port "8080" is occupied by processes whose PID (process number) is 2448.To check which application occupies port 8080, run the following command:Taskl
To view the occupancy of a specified portc:\>netstat-aon|findstr "9050"Protocol local address external address state PIDTCP 127.0.0.1:9050 0.0.0.0:0 LISTENING 2016P: See, Port is occupied by process number 2016 process, continue to execute the following command: (You can also go to the task Manager to see the PID corresponding process)See links for detailed explanationshttp://www.iteye.com/topic/1117270Gene
U-boot-2014.10 port 20th days ---- add nand flash command support (2), u-boot-2014.10nand
After the previous day's transplantation, we found that:
Flash: 2 MiBNAND: 0 MiB
It indicates that the Nand flash has not been transplanted successfully. The board_nand_init function is found in the drivers/mtd/nand/s3c2440_nand.c file:
nand->select_chip = NULLIf the chip function is set to NULL, we add the s3c2440_na
Ping is a simple tool to test network connectivity, useful for the general user, but Ping has a disadvantage is that it can not specify the port, and if the source address ban Ping, the ping command on the same name. --Preface
tcping command is for TCP monitoring, you can also see the ping value, even if the source address ban Ping can be tcping to monitor the st
In the Windows System netstat command can know the view port, process occupation, then under the netstat command how to do it! Now let's take a look!
Target: In a Windows environment, use the netstat command to see if a port number is occupied and which process is occupied.
Close port
The code is as follows:Iptables-a input-p TCP--dport 111-j DROPOpen port
The code is as follows:Iptables-a input-p TCP--dport 111-j ACCEPTDevelop discontinuous ports (including single):
The code is as follows:Iptables-a input-p tcp-m multiport--dport 21,20-jOthers are closed:
The code is as follows:Iptables-a input-p tcp-j REJECT--reject-with tcp-resetOpen Continuous Ports:
The code is as fo
1 Check the currently developed ports
#netstat-an
Suppose you found an unnecessary port of 631.
2 Find the port corresponding service
#lsof-I: 631
631 The corresponding service is CUPSD
3 View all Current services
#chkconfig –list
Found CUPSD's service name is Cups
4 Off Service
#/sbin/service Cups stop
5 Shutdown Service Auto start
If cups is started automatically with the server, you will also
1, Ryu controller modify the listening portThe ofproto_common.py under the Ryu/ryu/ofprotoThe following changes, thank you @ BEIJING-Otaku small @ Lone Shrimp2, mininet in custom self-built topology and connect to the specified controller command interpretationIf you want a simple self-built topology on the mininet, just build it under Mininet/custom, and you can finally name the. py file.The command runnin
1. View Port occupancyExecute under Windows command-line window:TCP 127.0.0.1:80 0.0.0.0:0 LISTENING 2448The port "8080" is occupied by a process with a PID (process number) of 2448.To see if the port "8080" is occupied by which application, continue with the following command:Tasklist|f
The Linux/shell command is primarily intended to address:1, check whether a port is occupied;2, check which process is occupied by a port;3. See which ports a process occupies;For example, my Tomcat failed to start, the log display port is occupied, you can use the following comman
1. View Port occupancyExecute under Windows command-line window:TCP 127.0.0.1:80 0.0.0.0:0 LISTENING 2448The port "8080" is occupied by a process with a PID (process number) of 2448.To see if the port "8080" is occupied by which application, continue with the following command:Tasklist|f
Use the scene: often we install their own module after the start to discover that a certain port is occupied, in order to ensure that their process can start normally, need to find out who occupied the port, and kill the process, and then start their own process, the specific methods of operation are as follows:
The Linux platform uses the following
: Using the lsof com
Unable to use the MacPorts port command after installing a high-version OS XPod Update prompt:Current platform "Darwin +" does not match expected platform "Darwin 13"Need to download MacPorts source code compilation installation, the method is as follows:From https://www.macports.org/guide/#installing. Macports.source2.2.2. Source InstallIf you installed macports using the package installer, skip this secti
Do not need any tools, DOS command scan all the ports of a network segment!
Open a DOS window under Win2000, and then execute
FOR/L%a in (1,1,254) do start/min/low telnet 192.168.0.%a 3389
So all the open 3389 ports in this 192.168.0.x segment will be exposed.
After this command is executed
will open 254 small windows in the taskbar
Then the Telnet link failed window automatically exits after approximately
Common commands for Linux firewalls1. Permanent effect, no recovery after rebootOpen: Chkconfigiptables onOFF: Chkconfigiptables off2. Immediate effect, recovery after restartRestarting the firewallWay One:/etc/init.d/iptables restartMode two: Service iptables restartTo turn off the firewall:Mode one:/etc/init.d/iptables stopMode two: Service iptables stopStart the firewallMode one:/etc/init.d/iptables startMode two: Service iptables startOpen related interfaces1. Locate the firewall configurati
The pressure measurement involves the port limit, the system defaults to the limit, use the following command to view:
Cat/proc/sys/net/ipv4/ip_local_port_range
The result is: 32768 61000, then 32768 to 61000 ports are available, so you need
Modified to:
echo "10000 65535" >/proc/sys/net/ipv4/ip_local_port_range
End ~
All right, here we are. About the number of outbound connection restrictions on the
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.