Hot Article
- Centos7 closes and restarts the system firewall and opens firewall ports
- How IID server uses Xshell to connect to Linux (centos) server
- BT panel forgets the background login URL, and the solution to the security entrance verification failure
- The php domain name points to ip, how to use the specified ip address to access a server in the url request domain name in curl mode
- How to purchase a dedicated server
- Error connecting to MySQL: Cant connect to MySQL server (10060)
Several common server port numbers and corresponding services are organized
- Author:Rooly
- Category:Server Maintain
- Release Time:2022-09-19
Considering the security of the server, we see that most of the servers have a mandatory security group, and the corresponding service needs to be set to release the specified port. The same server can also be customized to set the port. In this article, IID.HK organizes several commonly used server ports and corresponding services.
1. 22 ports
Generally, our server defaults to port 22 as the SSH remote server connection port. Of course, there are also some servers that directly give random ports by default. If it is the default port 22, we recommend changing it to another port after SSH connection to the configuration server.
2. Port 21
Port 21 is our common default FTP port. This port is used to connect to the directory specified by the current FTP space configuration.
3. Port 443
This port is used for HTTPS, after the SSL certificate is configured. If our website and server need to configure HTTPS, then we need to open port 443.
4. Port 80
Port 80 is the WEB port, the HTTP port we use to access the website. This must be enabled to access the website.
5. Port 3306
This port is the database port. If our website and server use a database, we need to open this port.
6, 8888 and 888 ports
This port is the WEB port we use the pagoda panel to log in and the MYSQL database management port of the pagoda panel. We need to open it first and then set it up, and then we can modify it and then adjust it later.
These are the common ports we use in servers. If our other software needs special ports or our custom ports have changed, we need to open and close the ports accordingly.
related topic
- What should I do if the cloud storage space is full (solutions for clearing the cloud storage space)
- Several common server port numbers and corresponding services are organized
- How to block foreign IP access on Linux server?
- centos7 open and close 80 port tutorial
- Debian system installation yum command
- ubuntu 20.04 newbie installation tutorial