Use the accelerator key win+r to open the Run window. Enter CMD return to open a command prompt window
1: View the port that is open for this machine, that is, the number of ports that have been occupied.
Command:
Netstat-an
Partial results list:
Proto Local Address ForeignTCP 0.0.0.0:135 0.0.0.0:0 ListeningTCP 0.0.0.0:3473 0.0.0.0:0 ListeningTCP 0.0.0.0:8009 0.0.0.0:0 Listening
The local addresss corres
user FD type device size node nameHttpd5014Root 3u IPv4 14346 TCP server2: HTTP (Listen)
2. view the executable program corresponding to the process according to the process number
PS-F-p process number #
PS-F-P 5014
Uid pid ppid C stime tty time cmd
Root 5014 1 0? 00:00:00/usr/local/Apache/bin/httpd-K
3. view the dynamic link based on the executable program
LDD Executable File Name
LDD/usr/local/Apache/
a) Modify the port number:find the Server.xml inside the Conf in the Tomcat filein the file after Tomcat decompression, follow the actionOpen the fileafter the file is opened ( e.g. ) Tomcat default 8080 port, the system default configurationModify the Tomcat server-initiated port to port 8081This will change the origi
Apache modifies the port number to modify the root directory to build multiple websites, Apache port number
Modify Apache Port numberSelect Httpd.conf under Apache, look for: Listen, you will see#Listen 12.34.56.78:80Listen 80Change 80 to 90, save it.
Modify the default
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 Serv
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
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/arti
1, first find to occupy 8080 port process number PID is how muchCmd>netstat-ano | findstr 8080The last column of this command output indicates the number of process numbers that occupy port 8080, assuming 12342. Kill the Processcmd>taskkill/f/pid 1234This article is from the "Exist" blog, make sure to keep this source
Use the accelerator key win+r to open the Run window. Enter CMD return to open a command prompt window
1: View the port that is open for this machine, that is, the number of ports that have been occupied. Command:
Netstat-an
Partial results list:
Proto Local Address Foreign
TCP 0.0.0.0:135 0.0.0.0:0 Listening
TCP 0.0.0.0:3473 0.0.0.0:0 Listening
TCP 0.0.0.0:8009 0.0.0.0:0 Listening
The local addresss corr
Tags: style blog http color io os strong SP dataSQL ServerInstall the first instance, the default instance port is 1433,If there are multiple instances in a library,The port starting from the second instance is a dynamic port, which, if required, is manually specified as a static port, as specifiedThe second instance i
Tags: style blog http io sp file div.MySQL default port number is 3306, if install multiple or conflict need to modify the port number, modify the port number of the My.ini, the file is normally under the installation directory. H
command view.End the process: Select the process in Task Manager to click the "End Process" button, or in the cmd command window, enter: taskkill/f/t/im Tencentdl.exe.Ways to end a process with a command:1, with taskkill command1.TASKKILL/IM Process NameExample: Turn tomcat off with the Taskkill/im tomcat7.exe command.2.taskkill/pid[Process Code]-T (end the process)-F (Force end of the process and all child processes)Note: There are two ways to check the PID code of the process:1. Use the taskl
Common service name and port number, name port number
Port name port number/protocol alias
Ftp 21/tcp
Telnet 23/tcp
Smtp 25/tcp mail
Nicename 43/tcp whois
Domain 53/tcp nameserver
Dom
Tags: reserve list update out IV output put deployment article1. BackgroundWhen the Linux server starts, the specified port is monitored for bind, and if the port on the same machine is already in use, the listener fails and the program fails to start.When the Linux client connects to the server accept, the system allocates a local temporary port for the network
Tags: db2 col ack admin Open get service Find drive 1.db2com Open the console 2,DB2 get dbm CFG You can find the port number or port name by querying the database Manager configuration parameters by DB2 get dbm CFG. Example: $ DB2 get dbm CFG TCP/IP Service name (SVCENAME) = db2c_db2 ← Port Name 3, in the following dir
Port numberProtocol Port number:The full name of the port number is the protocol port number, it is used for the application layer and transfer into the interaction, when creating a socket need to know the IP address and
This time, say "ports" and "Port numbers".Usually hear people say "open port 80th", in order to secure "do not open redundant ports" and so on. So, what are the ports or port numbers here?First, the "port" is a concept used on TCP or UDP and is often likened to "windows". Also, the
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
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 t
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:
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.