查看服务与端口的关系
1. 使用DOS命令netstat,
2. 查看C:\WINDOWS\system32\drivers\etc目录下的service文件,使用文本方式打开。
3.
百度+google
维基百科上的port- service 对应列表:
0到1023号端口 | |
端口 | 描述 |
0/TCP,UDP | 保留端口;不使用(若发送过程不准备接受回复消息,则可以作为源端口) |
1/TCP,UDP | TCPMUX(传输控制协议端口服务多路开关选择器) |
5/TCP,UDP | RJE(远程作业登录) |
7/TCP,UDP | ECHO(回显)协议 |
9/TCP,UDP | DISCARD(丢弃)协议 |
11/TCP,UDP | SYSTAT协议 |
13/TCP,UDP | DAYTIME协议 |
15/TCP,UDP | NETSTAT协议 |
17/TCP,UDP | QOTD(Quote of the Day,每日引用)协议 |
18/TCP,UDP | 消息发送协议 |
19/TCP,UDP | CHARGEN(字符发生器)协议 |
20/TCP,UDP | 文件传输协议 - 默认数据端口 |
21/TCP,UDP | 文件傳輸協議 - 控制端口 |
22/TCP,UDP | SSH (Secure Shell) - 远程登录协议,用於安全登錄 文件传输(SCP,SFTP)及端口重新定向 |
23/TCP,UDP | Telnet 终端仿真协议 - 未加密文本通信 |
25/TCP,UDP | SMTP(简单邮件传输协议) - 用于邮件服务器间的电子邮件传递 |
26/TCP,UDP | RSFTP - 一个简单的类似FTP的协议 |
35/TCP,UDP | QMS Magicolor 2 printer |
37/TCP,UDP | TIME时间协议 |
39/TCP,UDP | Resource Location Protocol(资源定位协议) |
41/TCP,UDP | 图形 |
42/TCP,UDP | Host Name Server(主机名服务) |
42/TCP,UDP | WINS(WINS主机名服务) |
43/TCP | WHOIS 協議 |
49/TCP,UDP | TACACS 登录主机协议 |
53/TCP,UDP | DNS(域名服务系统) |
56/TCP,UDP | 远程访问协议 |
57/TCP | MTP,邮件传输协议 |
67/UDP | BOOTP(BootStrap协议)服务;同时用于DHCP(动态主机设定协议) |
68/UDP | BOOTP 客户端;同时用于DHCP(动态主机设定协议) |
69/UDP | TFTP(小型文件传输协议) |
70/TCP | Gopher信息检索协议 |
79/TCP | Finger协议 |
80/TCP | HTTP(超文本传输协议)- 用于传输网页 |
81/TCP | HTTP预备(超文本传输协议) |
81/TCP | Torpark - Onion routing ORport |
82/UDP | Torpark - 控制端口 |
88/TCP | Kerberos - 认证代理 |
101/TCP | 主机名 |
102/TCP | ISO-TSAP 协议 |
107/TCP | 远程Telnet协议 |
109/TCP | POP(Post Office Protocol),“邮局协议”,第2版 |
110/TCP | POP3(“邮局协议”,第3版)- 用于接收电子邮件 |
111/TCP,UDP | Sun协议 |
113/TCP | ident - old server identification system, 仍然被IRC 服务器用来认证它的用户 |
115/TCP | SFTP, 简单文件传输协议 |
117/TCP | UUCP-PATH |
118/TCP,UDP | SQL 服务 |
119/TCP | NNTP (Network News Transfer Protocol) - 用来收取新闻组的消息 |
123/UDP | NTP (Network Time Protocol) - used for time synchronization |
135/TCP,UDP | EPMAP (End Point Mapper) / Microsoft RPC Locator Service |
137/TCP,UDP | NetBIOS NetBIOS Name Service |
138/TCP,UDP | NetBIOS NetBIOS Datagram Service |
139/TCP,UDP | NetBIOS NetBIOS Session Service |
143/TCP,UDP | IMAP4 (Internet Message Access Protocol 4) - used for retrieving E-mails |
152/TCP,UDP | BFTP, Background File Transfer Program |
153/TCP,UDP | SGMP, Simple Gateway Monitoring Protocol |
156/TCP,UDP | SQL Service |
158/TCP,UDP | DMSP, Distributed Mail Service Protocol |
161/TCP,UDP | SNMP (Simple Network Management Protocol) |
162/TCP,UDP | SNMPTRAP |
170/TCP | Print-srv |
179/TCP | BGP (Border Gateway Protocol) |
194/TCP | IRC (Internet Relay Chat) |
201/TCP,UDP | AppleTalk Routing Maintenance |
209/TCP,UDP | The Quick Mail Transfer Protocol |
213/TCP,UDP | IPX |
218/TCP,UDP | MPP, Message Posting Protocol |
220/TCP,UDP | IMAP, Interactive Mail Access Protocol, version 3 |
259/TCP,UDP | ESRO, Efficient Short Remote Operations |
264/TCP,UDP | BGMP,Border Gateway Multicast Protocol |
308/TCP | Novastor Online Backup |
311/TCP | Apple Server-Admin-Tool, Workgroup-Manager-Tool |
318/TCP,UDP | TSP, Time Stamp Protocol |
323/TCP,UDP | IMMP, Internet Message Mapping Protocol |
383/TCP,UDP | HP OpenView HTTPs Operations Agent |
366/TCP,UDP | SMTP, Simple Mail Transfer Protocol. ODMR, On-Demand Mail Relay |
369/TCP,UDP | Rpc2portmap |
371/TCP,UDP | ClearCase albd |
384/TCP,UDP | A Remote Network Server System |
387/TCP,UDP | AURP, AppleTalk Update-based Routing Protocol |
389/TCP,UDP | LDAP (Lightweight Directory Access Protocol) |
401/TCP,UDP | UPS Uninterruptible Power Supply |
411/TCP | Direct Connect Hub port |
412/TCP | Direct Connect Client-To-Client port |
427/TCP,UDP | SLP (Service Location Protocol) |
443/TCP | HTTPS - HTTP Protocol over TLS/SSL (encrypted transmission) |
444/TCP,UDP | SNPP,Simple Network Paging Protocol |
445/TCP | Microsoft-DS (Active Directory,Windows shares, Sasser worm,Agobot, Zobotworm) |
445/UDP | Microsoft-DS SMB file sharing |
464/TCP,UDP | Kerberos Change/Set password |
465/TCP | Cisco protocol |
465/TCP | SMTP over SSL |
475/TCP | tcpnethaspsrv (Hasp services, TCP/IP version) |
497/TCP | dantz backup service |
500/TCP,UDP | ISAKMP,IKE-Internet Key Exchange |
502/TCP,UDP | Modbus,Protocol |
512/TCP | exec, Remote Process Execution |
512/UDP | comsat, together with biff:notifies users of new c.q. yet unread e-mail |
513/TCP | Login |
513/UDP | Who |
514/TCP | rsh protocol - used to execute non-interactive commandline commands on a remote system and see the screen return |
514/UDP | syslog protocol - used for system logging |
515/TCP | Line Printer Daemon protocol - used in LPD printer servers |
517/UDP | Talk |
518/UDP | NTalk |
520/TCP | efs |
520/UDP | Routing - RIP |
513/UDP | Router |
524/TCP,UDP | NCP (NetWare Core Protocol) is used for a variety things such as access to primary NetWare server resources, Time Synchronization, etc. |
525/UDP | Timed, Timeserver |
530/TCP,UDP | RPC |
531/TCP,UDP | AOL Instant Messenger, IRC |
532/TCP | netnews |
533/UDP | netwall, For Emergency Broadcasts |
540/TCP | UUCP (Unix-to-Unix Copy Protocol) |
542/TCP,UDP | commerce (Commerce Applications) |
543/TCP | klogin, Kerberos login |
544/TCP | kshell, Kerberos Remote shell |
546/TCP,UDP | DHCPv6 client |
547/TCP,UDP | DHCPv6 server |
548/TCP | AFP(Apple Filing Protocol) |
550/UDP | new-rwho, new-who |
554/TCP,UDP | RTSP (Real Time Streaming Protocol) |
556/TCP | Remotefs, rfs, rfs_server |
560/UDP | rmonitor, Remote Monitor |
561/UDP | monitor |
563/TCP,UDP | NNTP protocol over TLS/SSL (NNTPS) |
587/TCP | email message submission(SMTP) (RFC 2476) |
591/TCP | FileMaker 6.0 (and later) Web Sharing (HTTP Alternate, see port 80) |
593/TCP,UDP | HTTP RPC Ep Map(RPC over HTTP, often used by DCOM services and Microsoft Exchange Server) |
604/TCP | TUNNEL |
631/TCP,UDP | IPP,Internet Printing Protocol |
636/TCP,UDP | LDAP over SSL (encrypted transmission, also known as LDAPS) |
639/TCP,UDP | MSDP, Multicast Source Discovery Protocol |
646/TCP | LDP, Label Distribution Protocol |
647/TCP | DHCP Failover Protocol |
648/TCP | RRP, Registry Registrar Protocol |
652/TCP | DTCP, Dynamic Tunnel Configuration Protocol |
654/UDP | AODV, Ad hoc On-Demand Distance Vector |
665/TCP | sun-dr, Remote Dynamic Reconfiguration |
666/UDP | 毁灭战士,電腦平台上的一系列第一人称射击游戏。 |
674/TCP | ACAP, Application Configuration Access Protocol |
691/TCP | MS Exchange Routing |
692/TCP | Hyperwave-ISP |
694/UDP | Linux-HA High availability Heartbeat port |
695/TCP | IEEE-MMS-SSL |
698/UDP | OLSR, Optimized Link State Routing |
699/TCP | Access Network |
700/TCP | EPP, Extensible Provisioning Protocol |
701/TCP | LMP, Link Management Protocol. |
702/TCP | IRIS over BEEP |
706/TCP | SILC, Secure Internet Live Conferencing |
711/TCP | TDP, Tag Distribution Protocol |
712/TCP | TBRPF, Topology Broadcast based on Reverse-Path Forwarding |
720/TCP | SMQP, Simple Message Queue Protocol |
749/TCP, UDP | kerberos-adm, Kerberos administration |
750/UDP | Kerberos version IV |
782/TCP | Conserver serial-console management server |
829/TCP | CMP (Certificate Management Protocol) |
860/TCP | iSCSI |
873/TCP | rsync File synchronisation protocol |
901/TCP | Samba Web Administration Tool (SWAT) |
902 | VMware Server Console[1] |
904 | VMware Server Alternate (if 902 is in use - ie SUSE linux) |
911/TCP | Network Console on Acid (NCA) - local tty redirection over OpenSSH |
981/TCP | SofaWare Technologies Remote HTTPS management for firewall devices running embedded Checkpoint Firewall-1 software |
989/TCP,UDP | FTP Protocol (data) over TLS/SSL |
990/TCP,UDP | FTP Protocol (control) over TLS/SSL |
991/TCP,UDP | NAS (Netnews Admin System) |
992/TCP,UDP | Telnet protocol over TLS/SSL |
993/TCP | IMAP4 over SSL (encrypted transmission) |
995/TCP | POP3 over SSL (encrypted transmission) |
4.测试端口的连通性
使用telnet Destination IP Port 该方法只能用于TCP端口的测试。
转载于:https://blog.51cto.com/mintank/1175597