当前位置:网站首页>Which common ports should the server open

Which common ports should the server open

2022-07-05 02:11:00 Yi Yue Wang Chao

The following is a list of commonly used ports of the server :

   port service explain

  21 FTP FTP The port opened by the service , For uploading 、 Download the file .

  22 SSH SSH port , Used in command line mode Remote connection Linux Server or vps.

  23 Telnet Telnet port , be used for Telnet Remote login server .

  25 SMTP SMTP The port opened by the service , For sending mail .

  80 HTTP be used for HTTP Provide access to services , for example ,IIS、Apache、Nginx Etc . You can refer to Check TCP 80 Whether the port is working properly screening 80 Port failure .

  110 POP3 be used for POP3 agreement ,POP3 It's an e-mail protocol .

  143 IMAP be used for IMAP(Internet Message Access Protocol) agreement ,IMAP Is a protocol for receiving e-mail .

  443 HTTPS be used for HTTPS Provide access to services .HTTPS It is a protocol that can provide encryption and transmission through secure ports .

  1433 SQL Server SQL Server Of TCP port , For SQL Server External services .

  1434 SQL Server SQL Server Of UDP port , For return SQL Server Which one was used TCP/IP port .

  1521 Oracle Oracle Communication port , Deployed on the server Oracle SQL Ports that need to be released .

  3306 MySQL MySQL The port where the database provides services to the outside world .

  3389 Windows Server Remote Desktop Services Windows Server Remote Desktop Services( Remote desktop service ) port , You can connect to the server remotely through this port

  8080 The proxy port Same as 80 Same port ,8080 Ports are often used for WWW Agency service , Realize web browsing . If you use 8080 port , When visiting a website or using a proxy server , Need to be in IP Add... After the address :8080. install Apache Tomcat After service , The default service port is 8080.

  137、138、139 NetBIOS agreement 137、138 by UDP port , The port used to transfer files through the network neighborhood .139 The connection entered through this port attempts to obtain NetBIOS/SMB service .NetBIOS Protocols are often used to Windows file 、 Printer sharing and Samba.

   For safety , It is recommended that the client turn on the firewall , Just add common ports to firewall exceptions or inbound rules . For example, webmasters generally only open :80、22、21、3306、1433 Wait for the port ...

        In addition, according to the different requirements of the deployment project , You may also need to open other ports , for example redis port , Or configure load balancing, etc .

        The specific port opening depends on the security group settings of the server , The security group settings of different cloud service providers are also different . Please check the server security group yourself when using .

原网站

版权声明
本文为[Yi Yue Wang Chao]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140942250447.html