Main Command: lsof netstat
Netstat-anpt | grep PID
After knowing the process number, you can use this method to view which network ports are being used by the current process
Run the lsof command to view the files opened by the process.
Lsof-P 2012 // What files are opened by a process whose process number is 2012 (all files in Linux). Generally, a server such as JBoss can see that it has opened man
1024 The following is reserved for the system, and from 1024-65535 is used by the userFor personal writing applications, try not to use a port number between 0 and 1024.1024 to 65535 we can program with. This is not a Linux rule, it is the socket rules.1, 0~1023, these ports have IANA allocation and control, if possible, the same port number is assigned to TCP, UDP and SCTP the same given service. such as t
SQL Server AlwaysOnZhong 445Survey report on port usagePart I: official documentation from MicrosoftMicrosoft Knowledge Base article 832017:service overview and network port requirements for WindowsFor our production environment SQL Server AlwaysOn FCI AG Hybrid deployment, based on Active Directory and cluster Service.The following information is referenced from KB 832017 and describes the related port requirements based on these two services:1. Active Directory (Local Security Authority)Activ
Let me see which ports are used for these system services-general Linux technology-Linux technology and application information. The following is a detailed description. The system is FC5.
Xinetd;
Sftpd;
Sshd;
Smartd;
Portmap;
Nfslock;
Netfs;
Mysql;
Hidd;
Bluetooth;
Which ports are used by the above services
This tool allows you to scan common ports and specify whether the ports are open. Common port number:The following ports are commonly used by proxy servers: (1). HTTP protocol Proxy Server common port number: 80/8080/3128/8081/9080 (2). Socks Proxy Protocol Server common port number: 1080 (3). FTP (File Transfer) proto
Protocols and ports used by Windows Server Failover ClusterThe Windows server Cluster service, the Cluster service, is used to control server cluster operations and to manage the internal flat file database of the cluster. A cluster is a collection of standalone servers that are combined and serve as a separate entity for external service. The cluster that the us
how to disable ports not used by computers
Each Service corresponds to a corresponding port. For example, the WWW Service port in zookeeper is 80, SMTP is 25, and FTP is 21, these services are enabled by default during Win2000 installation. It is unnecessary for individual users to disable the port, that is, to disable useless services. Configure it in "service" in "Administrative Tools" on "Control
Each Service corresponds to the corresponding port. For example, the WWW Service port of zookeeper is 80, smtp is 25, ftp is 21, and the service is enabled by default in win2000 installation. It is unnecessary for individual users to disable the port, that is, to disable useless services.
In "service" in "Administrative Tools" of "Control Panel", configure.
1. Close ports such as 7.9: Close Simple TCP/IP Service and support the following TCP/IP Servic
open TCP22 port for remote management of the system.
TCP23: Is the port used by Telnet, in the Windows command prompt to use the "telnet+ Server ip+ Port" way to enter the port corresponding to the remote host, for example, Telnet pop.qq.com 110 Port After you can enter the corresponding command to operate the mail in the mailbox, this command is often used to test whether the host open the corresponding
commandNetstat-pan|grep 80NETSTAT [-A] [-b] [-e] [-n] [-O] [-P proto] [-r] [-S] [-v] [interval]-a displays all connections and listening ports.-B Displays the executable components that are included in creating each connection or listening port. In some cases, the executable component is known to have multiple independent components, and in these cases a sequence of components that are included in creating a connection or listening port is displayed.
Two commands are used to find the program that occupies one of your ports.
Two commands are used to find the program that occupies one of your ports.
Start ----> RUN ----> cmd, or the window + R key combination to bring up the command window
1. netstat-aon | findstr "49157"
View the PID corresponding to the occupie
1. Netstat-ano Show all ports corresponding to PID in Task Manager, open Task Manager to query occupation process through PIDAppendix: On the command line, enter netstat/? You can view information about the netstat.C:\Documents and Settings\administrator>netstat/?Displays protocol statistics and current TCP/IP network connections.NETSTAT [-A] [-b] [-e] [-n] [-O] [-P proto] [-r] [-S] [-t] [-v] [interval]-a displays all connections and listening ports.T
Label:Modifying the 1521, 8080 ports used by Oracle XE Listener today, when helping developers demon install Oraclexe, there is a hint: [SQL]
Destination folder:d:\oraclexe\
Port for ' Oracle Database Listener ': 1521
Port for ' Oracle Services for Microsoft Transaction Server ': 2030
Port for HTTP listener:8080
As you can see, the Default Web console service port is 8080 and cann
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.