Files
My-Notes/笔记/Linux/系统/端口.md
T
2026-07-02 23:10:58 +08:00

49 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
相关指令:
- [[netstat]]
- [[nmap]]
不同服务/程序有不同端口
公认端口:1-1023
注册端口:1024-49151
动态端口:49152-65535
常见端口:
- 网页服务:
- 80:HTPP
- 443:HTTPS
- 8080:HTTP代理或备用端口,常用于测试环境或 Tomcat 默认端口。
- 8443:HTTPS备用端口,常用于需要 SSL 加密的管理后台
- 远程登录与服务器管理:
- 22:SSH
- 23:Telnet
- 3389:RDPWindows远程
- 5900:VNC,用于图形化远程桌面
- 文件传输:
- 20:FTP数据端口
- 21:FTP控制端口
- 22:SFTP
- 69:TFTP
- 数据库:
- 3306:MySQL / MariaDB(关系型数据库)
- 5432:PostgreSQL(关系型数据库)
- 6389:Redis(内存缓存/键值对数据库)
- 27017:MongoDB(文档型 NoSQL 数据库)
- 14433:SQL Server(微软数据库)
- 1521:Oracle(甲骨文数据库)
- 邮件服务:
- 25:SMTP发信
- 110:POP3收信
- 143:IMAP收信
- 465/587加密的SMTP发信
- 网络基础服务:
- 53:DNS
- 67/68:DHCP
- 123:NTP网络时间协议
- 161:SNMP简单网络管理协议
- 开发与中间件:
- 2182:ZooKeeper分布式协调服务
- 9092:Kafka消息队列,分布式流处理
- 9200:Elasticsearch搜索引擎,HTTP API 端口
- 9300:Elasticsearch集群内部通信端口
- 8080/8090:很多 Java 微服务(如 Spring Boot)的默认端口