Networks
Introduction
This page will help you navigate through articles about computer networks.
A network is a group of computers or other devices connected by wires or radio waves.
A host is a single device on a network.
The host can be accessed over the network.
A host can send requests to one or more hosts on the network.
A special term has been coined for contacting yourself over the network - contacting localhost
The basis of data exchange over the network is the transmission of electrical impulses. They can be converted to
numbers. For example, take a high voltage for 1 and a low voltage for 0.
You can agree on which sets of ones and zeros you need to send for a successful exchange of information.
This will be called a protocol. There can be many protons and they can be embedded with each other. Examples of TCP, IP, UPD
Example of protocol
In this section, you can see my attempt to explain what protocols are to those who have no way of imagining them.
Let's have hosts A and B.
They agreed that to start the work, one should send the other.
11110000
get back
11110001
Before each message with data must be attributed before special counterwhich is first equal
10101010
And with each new message increase counter 1
In front of real data, you should always insert
00000000
Which are not yet in use.
Upon successful receipt, only the increased counter
When all data should be sent
00001111
Data can be transmitted at 8 bits per message.
Example of data exchange on this protocol
Suppose A wants to send B the following data:
1111111100000000
Since data is 16 bits, it needs to be broken down into two messages of 8 bits.
A → B: And sends.
11110000
Waiting back 11110001.
B receives an offer to exchange data, he is ready to receive and sends back 11110001
A receives a ready-to-receive signal from B and sends real data to 11111111. 1010101000000000
B gets B. 101010100000000011111111 and send it back. 10101011
A receives a data acceptance confirmation from B and sends a second piece of data. 101011000000000000000000
B gets B. 101011000000000000000000 and backs up. 10101101
A receives a confirmation of receiving the second piece of data and sends a message about the end of the data exchange. 00001111
B understands that the data has run out and starts processing it.
This example simply shows how protocols work, and in reality they are far more complex. You need to include a check. Package delivery, line checks, and more.
One protocol can be embedded in another.
Let’s say that in our example there are new rules called P1 and P2.
P1: If the data is not available
00000000
And
00000001
The data will not be 8 bits but 16 and in front of them there will be another 8 bits of information in which it is encrypted which program should process them.
P2: If not
00000000
Comes.
10000000
The data will be 32 bits without any other changes.
Obviously, P1 and P2 need to be processed differently. Both are based on our original protocol.
This example is too primitive, but one can imagine that P1 and P2 are new protocols only at a higher level.
IP
IP is the third layer protocol in the OSI model.
Example IP address 8.8.8. 8.
It divides the dots into four parts - an octet of 8 bits. Each octet can range from 0 to 255.
203.0.113.10/24
203.0.113 This is called the Network Portion.
.10 - This is Host Portion.
/24 Subnet Mask or simply netmask is a subnet mask.
With help.
mask
You can increase the size of the Host Portion using the Network Portion.
Without a mask, IP is not self-sufficient.example)
| 203 | 0 | 113 | 10 |
| 11001011 | 00000000 | 01110001 | 00001010 |
| 8 bits | 8 bits | 8 bits | 8 bits |
It was used until 1995.
Classful Addressing
After 1995, Classless Addressing
Subnet Mask
In our first example, 24 bits are allocated for the network part of the address and 8 bits for hosts (hosts, also use the term nodes). Figure it out. How this division occurs can be studied Subnet Mask (or just netmask) is a subnet mask.
| IP decimal | 203 | 0 | 113 | 10 |
|---|---|---|---|---|
| IP binary | 11001011 | 00000000 | 01110001 | 00001010 |
| Binary mask | 11111111 | 11111111 | 11111111 | 00000000 |
| Decimal mask | 255 | 255 | 255 | 0 |
The mask is also broken into octets. In the table conveniently located binary IP Address and binary mask.
If the address bit is above 0 mask, it corresponds to the Host Portion.
If the address bit is above 1 mask, it is Network Portion.
The smaller the mask, the more unique hosts can be on the network.
In a large local network, you don’t want to spend 24 bits on the network and leave only 8 bits on the hosts.
Let me remind you that 8 bits is only 256 unique variants of which the first .0 is reserved for
address of the network itself
Network Address
) and the last .255 is reserved for the broadcast address (
Broadcast Address
), which you will learn about below, so there are only 254 unique IPs for hosts.
?
Host Address
).
To increase the number of unique addresses for hosts need a different mask. For example,
| 11111111 | . | 00000000 | . | 00000000 | . | 00000000 |
| 255 | . | 0 | . | 0 | . | 0 |
In the mask 255.0.0.0 it is the opposite: 8 bits for the network part and 24 bits for the host
Example of IP address with this mask
| IP decimal | 10 | . | 0 | . | 0 | . | 10 |
|---|---|---|---|---|---|---|---|
| IP binary | 00001010 | . | 00000000 | . | 00000000 | . | 00001010 |
| Binary mask | 11111111 | . | 00000000 | . | 00000000 | . | 00000000 |
| Decimal mask | 255 | . | 0 | . | 0 | . | 0 |
It is not necessary to distinguish between Host Portion and Network Portion at the octet boundary.
| IP decimal | 10 | . | 0 | . | 0 | . | 10 |
|---|---|---|---|---|---|---|---|
| IP binary | 00001010 | . | 00000000 | . | 00000000 | . | 00001010 |
| Binary mask | 11111111 | . | 11111111 | . | 11110000 | . | 00000000 |
| Decimal mask | 255 | . | 255 | . | 240 | . | 0 |
IP from the previous example 10.0.0.10 can be a host on the network with a mask 255.0.0.0 and a mask
255.255.240.0
Let's see where the difference is.
Consider two IP addresses: 10.0.15.10 and 10.0.16.10.
If the mask is 255.0.0. 0
| 10.0.15.10 dec | 10 | . | 0 | . | 15 | . | 10 |
|---|---|---|---|---|---|---|---|
| 10.0.15.10 bin | 00001010 | . | 00000000 | . | 00001111 | . | 00001010 |
| 10.0.16.10 dec | 10 | . | 0 | . | 16 | . | 10 |
| 10.0.16.10 bin | 00001010 | . | 00000000 | . | 00010000 | . | 00001010 |
| Binary mask | 11111111 | . | 00000000 | . | 00000000 | . | 00000000 |
| Decimal mask | 255 | . | 0 | . | 0 | . | 0 |
Network part addresses occupy only the first octet and are marked in bold,
10.0.15.10 and 10.0.16.10 are two neighboring hosts on the same subnet.
Consider the same addresses but with a mask of 255.255.240.0
| 10.0.15.10 dec | 10 | . | 0 | . | 15 | . | 10 |
|---|---|---|---|---|---|---|---|
| 10.0.15.10 bin | 00001010 | . | 00000000 | . | 00001111 | . | 00001010 |
| 10.0.16.10 dec | 10 | . | 0 | . | 16 | . | 10 |
| 10.0.16.10 bin | 00001010 | . | 00000000 | . | 00010000 | . | 00001010 |
| Binary mask | 11111111 | . | 11111111 | . | 11110000 | . | 00000000 |
| Decimal mask | 255 | . | 255 | . | 240 | . | 0 |
Notice the third octet. Especially on the binary record.
None of the positive bits of 10.0.15.10 hit the network. (no fatty units)
Thus, at 10.0.15.10, the host address remained the same, but the network part of the IP address grew noticeably.
At 10.0.16.10, the unit in the third octet hit the network part. From the host address there are only 1010 a
It is not the same as 10.0.15. 10
Thus, now 10.0.16.10 and 10.0.15.10 are not neighboring hosts of the same subnet.
hosts on different subnets.
Classful Addressing
If you’ve ever heard of Class A, Class B, C, D, or E IP, that’s the case. Older Class Addressing (Classful Addressing)
| Class class | IP address range | |
|---|---|---|
| A | 0.0.0.0 | 127.255.255.255 |
| B | 128.0.0.0 | 191.255.255.255 |
| C | 192.0.0.0 | 223.255.255.255 |
| D | 224.0.0.0 | 239.255.255.255 |
| E | 240.0.0.0 | 255.255.255.255 |
A, B, and C are called Unicasts. These are the addresses currently used on the public Internet (with the exception of n
private addresses
. Principle - one device communicates with one device
D is multicast. One device communicates with several devices. Not supported on the Internet, but supported
in large private networks for broadcasting meetings, etc.
Class A: The first 8 bits are always the network part
Class B: The first 16 bits are always the network part
Class C: The first 24 bits are always the network part
Class D: All 32 bits are always the network part
Types of IP addresses
According to the value of Host Portion, addresses can be divided into three types.
Network Address
Network Address or Network Prefix is a unique identifier for a group of devices. Like, like,
The street name is a unique identifier for all houses on this street, but is not unique to the street.
house (if there is more than one house on the street)
All bits in the Host Portion are 0.
| 255.255.255.0 dec | 255 | . | 255 | . | 255 | . | 0 |
|---|---|---|---|---|---|---|---|
| 255.255.255.0 bin | 11111111 | . | 11111111 | . | 11111111 | . | 00000000 |
Broadcast Address
Broadcast Address: An identifier that identifies all devices on the network.
Broadcast address all bits in Host Portion are 1
| 255.255.255.255 dec | 255 | . | 255 | . | 255 | . | 255 |
|---|---|---|---|---|---|---|---|
| 255.255.255.255 bin | 11111111 | . | 11111111 | . | 11111111 | . | 11111111 |
What is different I will explain on the example: the postman was instructed to take the letter to the office TopBicycle On the street Partner and gave instructions
Deliver to the company
Company;Site;Type;Address
TopBicycle;www.TopBicycle.ru;Partnerskaya Street
It's like a network ader. There may be many offices on the street. Where exactly to carry the letter Do not immediately understand - you need to specify the address of the house (in the case of a network - the host address).
The next day, the postman was instructed to carry the notification of repairs on the street to all houses and offices on the street Partner.
The alerts are the same for all companies.
Deliver to all recipients
Company;Site;Type;Address
URN.SU;https://www.urn.su;IT;Partnerskaya Street
HeiHei.ru;https://heihei.ru;TravelPartnerskaya Street
TopBicycle.ru;https://topbicycle.ru;BicyclesPartnerskaya Street
Aviasales;https://aviasales.ru;Travel;Partners Street
Booking.com;https://booking.com;Hotels;Partners Street
Hotellook;https://Hotellook.com;Hotels;Partners Street
Velodrive;https://velodrive.ru;Bicycles;Partners Street
Xiaomi;https://mi-shop.com;Android;Partners Street
Samsung;https://www.samsungstore.ru;Android;Partners Street
;https://.ru;Books;Partners Street
GeekBrains;https://gb.ru;Education;Partners Street
Netology;https://netology.ru;Education;Partners Street
TestSetup.ru;https://TestSetup.ru.ru;Education;Partners Street
Pluralsight;https://Pluralsight.com;Education;Partners Street
SovcomInsurance;https://sovcomins.ru;Insurance;Partners Street
Polis 812;https://polis812.ru;Insurance;Partners Street
Vivo;https://ru.vivo.com/;Android;Partners Street
Beget;https://beget.com;Hosting;Partners Street
Reg.ru;https://Reg.ru.ru;Hosting;Partners Street
OLDI;https://oldi.ru;Laptops;Partners Street
It's the equivalent of a broadcast address. If there were two offices on the street, you should carry letters both ways. If twenty, all twenty. You don't have to know who's in what house, so if he's walking down the street with letters, It is easy to enter all houses in order (not according to the list, but because they are located on the street).
Host Address
Host Address: An identifier that identifies a particular device on the network.
A host address can have any combination of bits in a Host Portion except two: only zeros and only one.
Only zeros are a network address, only a few are broadcast. Everything else is host addresses.
The network address in the decimal record may not end at 0
Consider 10.128.224.64 with 255.255.255 mask. 224.
Checking if the address is a network address means checking whether the Host Portion contains only units or not.
One IP address is not enough for this, you need to consider it together with the mask to understand what it is.
Host Portion
| IP decimal | 10 | . | 128 | . | 224 | . | 64 |
|---|---|---|---|---|---|---|---|
| Decimal mask | 255 | . | 255 | . | 255 | . | 224 |
| IP binary | 00001010 | . | 10000000 | . | 11100000 | . | 01000000 |
| Binary mask | 11111111 | . | 11111111 | . | 11111111 | . | 11100000 |
The network part is highlighted in bold, it is obvious that only zeros remain in the host part and this address is the network.
CIDR Notation
Consider the mask 255.255.255. 0
The first 24 bits are units. Do not write constantly 255.255.255
/24
Next format is first slash, then Network Portion length
For example:
203.0.113.10/24
Private
There are three ranges of addresses that are not used on the public Internet.
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16
| Beginning | The End | Mask |
|---|---|---|
| 10.0.0.0 | 10.255.255.255 | /8 |
| 172.16.0.0 | 172.31.255.255 | /12 |
| 192.168.0.0 | 192.168.255.255 | /16 |
It is recommended to avoid using the address 169.254.0.0/16. APIPA
127.0.0.1 is reserved for Loopback Address
This means the address of your computer. You can tell me your home address.
In IPv6, it looks like ::1
Subnetting Networks
Consider the IP address. 10.0.0.0/8
10.0.0.0
255.0.0.0
Range of host addresses (not including ends):
10.0.0.0 - 10.255.255.255
N 00001010 00000000 00000000 00000000
B 00001010 11111111 11111111 11111111
M 11111111 00000000 00000000 00000000
RFC
| Port | TCP | UDP | IANA status | Description | SCTP |
|---|---|---|---|---|---|
| 0 | Reserved | Reserved | Official | ||
| N/A | N/A | Unofficial | In programming APIs (not in communication between hosts), requests a system-allocated (dynamic) port | ||
| 1 | Yes | Assigned | Official | TCP Port Service Multiplexer (TCPMUX). Historic. Both TCP and UDP have been assigned to TCPMUX by IANA, but by design only TCP is specified. | |
| 5 | Assigned | Assigned | Official | Remote Job Entry was historically using socket 5 in its old socket form, while MIB PIM has identified it as TCP/5 and IANA has assigned both TCP and UDP 5 to it. | |
| 7 | Yes | Yes | Official | Echo Protocol | |
| 9 | Yes | Yes | Official | Discard Protocol | |
| No | Yes | Unofficial | Wake-on-LAN | ||
| 11 | Yes | Yes | Official | Active Users (systat service) | |
| 13 | Yes | Yes | Official | Daytime Protocol | |
| 15 | Yes | No | Unofficial | Previously netstat service | |
| 17 | Yes | Yes | Official | Quote of the Day (QOTD) | |
| 18 | Yes | Yes | Official | Message Send Protocol | |
| 19 | Yes | Yes | Official | Character Generator Protocol (CHARGEN) | |
| 20 | Yes | Assigned | Official | File Transfer Protocol (FTP) data transfer | |
| 21 | Yes | Assigned | Official | File Transfer Protocol (FTP) control (command) | |
| 22 | Yes | Assigned | Official | Secure Shell (SSH), | |
| 23 | Yes | Assigned | Official | Telnet protocol—unencrypted text communications | |
| 25 | Yes | Assigned | Official | Simple Mail Transfer Protocol (SMTP), used for email routing between mail servers | |
| 37 | Yes | Yes | Official | Time Protocol | |
| 42 | Assigned | Yes | Official | Host Name Server Protocol | |
| 43 | Yes | Assigned | Official | WHOIS protocol | |
| 47 | Reserved | Reserved | Official | ||
| 49 | Yes | Yes | Official | TACACS Login Host protocol. | |
| 51 | Reserved | Reserved | Official | Historically used for Interface Message Processor logical address management, entry has been removed by IANA on 2013-05-25 | |
| 52 | Assigned | Assigned | Official | Xerox Network Systems (XNS) Time Protocol. Despite this port being assigned by IANA, the service is meant to work on SPP (ancestor of IPX/SPX), instead of TCP/IP. | |
| 53 | Yes | Yes | Official | Domain Name System (DNS) | |
| 54 | Assigned | Assigned | Official | Xerox Network Systems (XNS) Clearinghouse (Name Server). Despite this port being assigned by IANA, the service is meant to work on SPP (ancestor of IPX/SPX), instead of TCP/IP. | |
| 56 | Assigned | Assigned | Official | Xerox Network Systems (XNS) Authentication Protocol. Despite this port being assigned by IANA, the service is meant to work on SPP (ancestor of IPX/SPX), instead of TCP/IP. | |
| 58 | Assigned | Assigned | Official | Xerox Network Systems (XNS) Mail. Despite this port being assigned by IANA, the service is meant to work on SPP (ancestor of IPX/SPX), instead of TCP/IP. | |
| 61 | Reserved | Reserved | Official | Historically assigned to the NIFTP-Based Mail protocol, | |
| 67 | Assigned | Yes | Official | Bootstrap Protocol (BOOTP) server; also used by Dynamic Host Configuration Protocol (DHCP) | |
| 68 | Assigned | Yes | Official | Bootstrap Protocol (BOOTP) client; also used by Dynamic Host Configuration Protocol (DHCP) | |
| 69 | Assigned | Yes | Official | Trivial File Transfer Protocol (TFTP) | |
| 70 | Yes | Assigned | Official | Gopher protocol | |
| 71–74 | Yes | Yes | Official | NETRJS protocol | |
| 79 | Yes | Assigned | Official | Finger protocol | |
| 80 | Yes | Assigned | Official | Hypertext Transfer Protocol (HTTP) | |
| No | Yes | Unofficial | QUIC, a transport protocol over UDP (still in draft as of April 2020), using stream multiplexing, encryption by default with TLS, and currently supporting HTTP/2. QUIC has been renamed to HTTP/3, which is currently an Internet Draft. | ||
| 81 | Yes | Unofficial | TorPark onion routing | ||
| 82 | Yes | Unofficial | TorPark control | ||
| 83 | Yes | Assigned | Official | MIT ML Device, networking file system | |
| 88 | Yes | Assigned | Official | Kerberos authentication system | |
| 90 | Yes | Yes | Unofficial | PointCast (dotcom) | |
| 95 | Yes | Assigned | Official | SUPDUP, terminal-independent remote login | |
| 101 | Yes | Assigned | Official | NIC host name | |
| 102 | Yes | Assigned | Official | ISO Transport Service Access Point (TSAP) Class 0 protocol; | |
| 104 | Yes | Yes | Official | Digital Imaging and Communications in Medicine (DICOM; also port 11112) | |
| 105 | Yes | Yes | Official | CCSO Nameserver | |
| 107 | Yes | Yes | Official | Remote User Telnet Service (RTelnet) | |
| 108 | Yes | Yes | Official | IBM Systems Network Architecture (SNA) gateway access server | |
| 109 | Yes | Assigned | Official | Post Office Protocol, version 2 (POP2) | |
| 110 | Yes | Assigned | Official | Post Office Protocol, version 3 (POP3) | |
| 111 | Yes | Yes | Official | Open Network Computing Remote Procedure Call (ONC RPC, sometimes referred to as Sun RPC) | |
| 113 | Yes | No | Official | Ident, authentication service/identification protocol, used by IRC servers to identify users | |
| Yes | Assigned | Official | Authentication Service (auth), the predecessor to identification protocol. Used to determine a user's identity of a particular TCP connection. | ||
| 115 | Yes | Assigned | Official | Simple File Transfer Protocol | |
| 117 | Yes | Yes | Official | UUCP Mapping Project (path service) | |
| 118 | Yes | Yes | Official | Structured Query Language (SQL) Services | |
| 119 | Yes | Assigned | Official | Network News Transfer Protocol (NNTP), | |
| 123 | Assigned | Yes | Official | Network Time Protocol (NTP), used for time synchronization | |
| 126 | Yes | Yes | Official | Formerly Unisys Unitary Login, renamed by Unisys to NXEdit. Used by Unisys Programmer's Workbench for Clearpath MCP, an IDE for Unisys MCP software development | |
| 135 | Yes | Yes | Official | DCE endpoint resolution | |
| Yes | Yes | Official | Microsoft EPMAP (End Point Mapper), also known as DCE/RPC Locator service, used to remotely manage services including DHCP server, DNS server and WINS. Also used by DCOM | ||
| 137 | Yes | Yes | Official | NetBIOS Name Service, used for name registration and resolution | |
| 138 | Assigned | Yes | Official | NetBIOS Datagram Service | |
| 139 | Yes | Assigned | Official | NetBIOS Session Service | |
| 143 | Yes | Assigned | Official | Internet Message Access Protocol (IMAP), | |
| 152 | Yes | Yes | Official | Background File Transfer Program (BFTP) | |
| 153 | Yes | Yes | Official | Simple Gateway Monitoring Protocol (SGMP), a protocol for remote inspection and alteration of gateway management information | |
| 156 | Yes | Yes | Official | Structured Query Language (SQL) Service | |
| 158 | Yes | Yes | Official | Distributed Mail System Protocol (DMSP, sometimes referred to as Pcmail) | |
| 161 | Assigned | Yes | Official | Simple Network Management Protocol (SNMP) | |
| 162 | Yes | Yes | Official | Simple Network Management Protocol Trap (SNMPTRAP) | |
| 170 | Yes | Yes | Official | Network PostScript print server | |
| 177 | Yes | Yes | Official | X Display Manager Control Protocol (XDMCP), used for remote logins to an X Display Manager server | |
| 179 | Yes | Assigned | Official | Border Gateway Protocol (BGP), | |
| 194 | Yes | Yes | Official | Internet Relay Chat (IRC) | |
| 199 | Yes | Yes | Official | SNMP Unix Multiplexer (SMUX) | |
| 201 | Yes | Yes | Official | AppleTalk Routing Maintenance | |
| 209 | Yes | Assigned | Official | Quick Mail Transfer Protocol | |
| 210 | Yes | Yes | Official | ANSI Z39.50 | |
| 213 | Yes | Yes | Official | Internetwork Packet Exchange (IPX) | |
| 218 | Yes | Yes | Official | Message posting protocol (MPP) | |
| 220 | Yes | Yes | Official | Internet Message Access Protocol (IMAP), version 3 | |
| 225–241 | Reserved | Reserved | Official | ||
| 249–255 | Reserved | Reserved | Official | ||
| 259 | Yes | Yes | Official | Efficient Short Remote Operations (ESRO) | |
| 262 | Yes | Yes | Official | Arcisdms | |
| 264 | Yes | Yes | Official | Border Gateway Multicast Protocol (BGMP) | |
| 280 | Yes | Yes | Official | http-mgmt | |
| 300 | Yes | Unofficial | ThinLinc Web Access | ||
| 308 | Yes | Official | Novastor Online Backup | ||
| 311 | Yes | Assigned | Official | Mac OS X Server Admin) | |
| 318 | Yes | Yes | Official | PKIX Time Stamp Protocol (TSP) | |
| 319 | Yes | Official | Precision Time Protocol (PTP) event messages | ||
| 320 | Yes | Official | Precision Time Protocol (PTP) general messages | ||
| 350 | Yes | Yes | Official | Mapping of Airline Traffic over Internet Protocol (MATIP) type A | |
| 351 | Yes | Yes | Official | MATIP type B | |
| 356 | Yes | Yes | Official | cloanto-net-1 (used by Cloanto Amiga Explorer and VMs) | |
| 366 | Yes | Yes | Official | On-Demand Mail Relay (ODMR) | |
| 369 | Yes | Yes | Official | Rpc2portmap | |
| 370 | Yes | Yes | Official | codaauth2, Coda authentication server | |
| Yes | Official | securecast1, outgoing packets to NAI's SecureCast serversAs of 2000 | |||
| 371 | Yes | Yes | Official | ClearCase albd | |
| 383 | Yes | Yes | Official | HP data alarm manager | |
| 384 | Yes | Yes | Official | A Remote Network Server System | |
| 387 | Yes | Yes | Official | AURP (AppleTalk Update-based Routing Protocol) | |
| 388 | Yes | Assigned | Official | Unidata LDM near real-time data distribution protocol | |
| 389 | Yes | Assigned | Official | Lightweight Directory Access Protocol (LDAP) | |
| 399 | Yes | Yes | Official | Digital Equipment Corporation DECnet+ (Phase V) over TCP/IP (RFC1859) | |
| 401 | Yes | Yes | Official | Uninterruptible power supply (UPS) | |
| 427 | Yes | Yes | Official | Service Location Protocol (SLP) | |
| 433 | Yes | Yes | Official | NNSP, part of Network News Transfer Protocol | |
| 434 | Yes | Yes | Official | Mobile IP Agent (RFC 5944) | |
| 443 | Yes | Assigned | Official | Hypertext Transfer Protocol over TLS/SSL (HTTPS) | |
| No | Yes | Unofficial | Quick UDP Internet Connections (QUIC), a transport protocol over UDP (still in draft as of July 2018), using stream multiplexing, encryption by default with TLS, and currently supporting HTTP/2. | ||
| 444 | Yes | Yes | Official | Simple Network Paging Protocol (SNPP), RFC 1568 | |
| 445 | Yes | Yes | Official | Microsoft-DS (Directory Services) Active Directory, Windows shares | |
| Yes | Assigned | Official | Microsoft-DS (Directory Services) SMB file sharing | ||
| 464 | Yes | Yes | Official | Kerberos Change/Set password | |
| 465 | Yes | No | Official | URL Rendezvous Directory for SSM (Cisco protocol) | |
| Yes | No | Official | Authenticated SMTP | ||
| 475 | Yes | Yes | Official | tcpnethaspsrv, Aladdin Knowledge Systems Hasp services | |
| 491 | Yes | Unofficial | GO-Global remote access and application publishing software | ||
| 497 | Yes | Yes | Official | Retrospect | |
| 500 | Assigned | Yes | Official | Internet Security Association and Key Management Protocol (ISAKMP) / Internet Key Exchange (IKE) | |
| 502 | Yes | Yes | Official | Modbus Protocol | |
| 504 | Yes | Yes | Official | Citadel, multiservice protocol for dedicated clients for the Citadel groupware system | |
| 510 | Yes | Yes | Official | FirstClass Protocol (FCP), used by FirstClass client/server groupware system | |
| 512 | Yes | Official | Rexec, Remote Process Execution | ||
| Yes | Official | comsat, together with biff | |||
| 513 | Yes | Official | rlogin | ||
| Yes | Official | Who | |||
| 514 | Yes | Unofficial | Remote Shell, used to execute non-interactive commands on a remote system (Remote Shell, rsh, remsh) | ||
| No | Yes | Official | Syslog, used for system logging | ||
| 515 | Yes | Assigned | Official | Line Printer Daemon (LPD), print service | |
| 517 | Yes | Official | Talk | ||
| 518 | Yes | Official | NTalk | ||
| 520 | Yes | Official | efs, extended file name server | ||
| Yes | Official | Routing Information Protocol (RIP) | |||
| 521 | Yes | Official | Routing Information Protocol Next Generation (RIPng) | ||
| 524 | Yes | Yes | Official | NetWare Core Protocol (NCP) is used for a variety things such as access to primary NetWare server resources, Time Synchronization, etc. | |
| 525 | Yes | Official | Timed, Timeserver | ||
| 530 | Yes | Yes | Official | Remote procedure call (RPC) | |
| 532 | Yes | Assigned | Official | netnews | |
| 533 | Yes | Official | netwall, For Emergency Broadcasts | ||
| 540 | Yes | Official | Unix-to-Unix Copy Protocol (UUCP) | ||
| 542 | Yes | Yes | Official | commerce (Commerce Applications) | |
| 543 | Yes | Official | klogin, Kerberos login | ||
| 544 | Yes | Official | kshell, Kerberos Remote shell | ||
| 546 | Yes | Yes | Official | DHCPv6 client | |
| 547 | Yes | Yes | Official | DHCPv6 server | |
| 548 | Yes | Assigned | Official | Apple Filing Protocol (AFP) over TCP | |
| 550 | Yes | Yes | Official | new-rwho, new-who | |
| 554 | Yes | Yes | Official | Real Time Streaming Protocol (RTSP) | |
| 556 | Yes | Official | Remotefs, RFS, rfs_server | ||
| 560 | Yes | Official | rmonitor, Remote Monitor | ||
| 561 | Yes | Official | monitor | ||
| 563 | Yes | Yes | Official | NNTP over TLS/SSL (NNTPS) | |
| 564 | Yes | Unofficial | 9P (Plan 9) | ||
| 585 | Port 993 | ? | Unofficial | Legacy use of Internet Message Access Protocol over TLS/SSL (IMAPS), now in use at port 993. | |
| 587 | Yes | Assigned | Official | email message submission (SMTP) | |
| 591 | Yes | Official | FileMaker 6.0 (and later) Web Sharing (HTTP Alternate, also see port 80) | ||
| 593 | Yes | Yes | Official | HTTP RPC Ep Map, Remote procedure call over Hypertext Transfer Protocol, often used by Distributed Component Object Model services and Microsoft Exchange Server | |
| 601 | Yes | Official | Reliable Syslog Service — used for system logging | ||
| 604 | Yes | Official | TUNNEL profile, a protocol for BEEP peers to form an application layer tunnel | ||
| 623 | Yes | Official | ASF Remote Management and Control Protocol (ASF-RMCP) & IPMI Remote Management Protocol | ||
| 625 | Yes | No | Unofficial | Open Directory Proxy (ODProxy) | |
| 631 | Yes | Yes | Official | Internet Printing Protocol (IPP) | |
| Yes | Yes | Unofficial | Common Unix Printing System (CUPS) administration console (extension to IPP) | ||
| 635 | Yes | Yes | Official | RLZ DBase | |
| 636 | Yes | Assigned | Official | Lightweight Directory Access Protocol over TLS/SSL (LDAPS) | |
| 639 | Yes | Yes | Official | MSDP, Multicast Source Discovery Protocol | |
| 641 | Yes | Yes | Official | SupportSoft Nexus Remote Command (control/listening), a proxy gateway connecting remote control traffic | |
| 643 | Yes | Yes | Official | SANity | |
| 646 | Yes | Yes | Official | Label Distribution Protocol (LDP), a routing protocol used in MPLS networks | |
| 647 | Yes | Official | DHCP Failover protocol | ||
| 648 | Yes | Official | Registry Registrar Protocol (RRP) | ||
| 651 | Yes | Yes | Official | IEEE-MMS | |
| 653 | Yes | Yes | Official | SupportSoft Nexus Remote Command (data), a proxy gateway connecting remote control traffic | |
| 654 | Yes | Official | Media Management System (MMS) Media Management Protocol (MMP) | ||
| 655 | Yes | Yes | Official | Tinc VPN daemon | |
| 657 | Yes | Yes | Official | IBM RMC (Remote monitoring and Control) protocol, used by System p5 AIX Integrated Virtualization Manager (IVM) and Hardware Management Console to connect managed logical partitions (LPAR) to enable dynamic partition reconfiguration | |
| 660 | Yes | Assigned | Official | Mac OS X Server administration, | |
| 666 | Yes | Yes | Official | Doom, first online first-person shooter | |
| Yes | Unofficial | airserv-ng, aircrack-ng's server for remote-controlling wireless devices | |||
| 674 | Yes | Official | Application Configuration Access Protocol (ACAP) | ||
| 688 | Yes | Yes | Official | REALM-RUSD (ApplianceWare Server Appliance Management Protocol) | |
| 690 | Yes | Yes | Official | Velneo Application Transfer Protocol (VATP) | |
| 691 | Yes | Official | MS Exchange Routing | ||
| 694 | Yes | Yes | Official | Linux-HA high-availability heartbeat | |
| 695 | Yes | Official | IEEE Media Management System over SSL (IEEE-MMS-SSL) | ||
| 698 | Yes | Official | Optimized Link State Routing (OLSR) | ||
| 700 | Yes | Official | Extensible Provisioning Protocol (EPP), a protocol for communication between domain name registries and registrars (RFC 5734) | ||
| 701 | Yes | Official | Link Management Protocol (LMP), a protocol that runs between a pair of nodes and is used to manage traffic engineering (TE) links | ||
| 702 | Yes | Official | IRIS (RFC 3983) | ||
| 706 | Yes | Official | Secure Internet Live Conferencing (SILC) | ||
| 711 | Yes | Official | Cisco Tag Distribution Protocol | ||
| 712 | Yes | Official | Topology Broadcast based on Reverse-Path Forwarding routing protocol (TBRPF; RFC 3684) | ||
| 749 | Yes | Yes | Official | Kerberos (protocol) administration | |
| 750 | Yes | Official | kerberos-iv, Kerberos version IV | ||
| 751 | Yes | Yes | Unofficial | kerberos_master, Kerberos authentication | |
| 752 | Yes | Unofficial | passwd_server, Kerberos password (kpasswd) server | ||
| 753 | Yes | Yes | Official | Reverse Routing Header (RRH) | |
| Yes | Unofficial | userreg_server, Kerberos userreg server | |||
| 754 | Yes | Yes | Official | tell send | |
| Yes | Unofficial | krb5_prop, Kerberos v5 slave propagation | |||
| 760 | Yes | Yes | Unofficial | krbupdate , Kerberos registration | |
| 782 | Yes | Unofficial | Conserver serial-console management server | ||
| 783 | Yes | Unofficial | SpamAssassin spamd daemon | ||
| 800 | Yes | Yes | Official | mdbs-daemon | |
| 802 | Yes | Yes | Official | MODBUS/TCP Security | |
| 808 | Yes | Unofficial | Microsoft Net.TCP Port Sharing Service | ||
| 829 | Yes | Assigned | Official | Certificate Management Protocol | |
| 830 | Yes | Yes | Official | NETCONF over SSH | |
| 831 | Yes | Yes | Official | NETCONF over BEEP | |
| 832 | Yes | Yes | Official | NETCONF for SOAP over HTTPS | |
| 833 | Yes | Yes | Official | NETCONF for SOAP over BEEP | |
| 843 | Yes | Unofficial | Adobe Flash | ||
| 847 | Yes | Official | DHCP Failover protocol | ||
| 848 | Yes | Yes | Official | Group Domain Of Interpretation (GDOI) protocol | |
| 853 | Yes | Yes | Official | DNS over TLS (RFC 7858) | |
| 860 | Yes | Official | iSCSI (RFC 3720) | ||
| 861 | Yes | Yes | Official | OWAMP control (RFC 4656) | |
| 862 | Yes | Yes | Official | TWAMP control (RFC 5357) | |
| 873 | Yes | Official | rsync file synchronization protocol | ||
| 888 | Yes | Unofficial | cddbp, CD DataBase (CDDB) protocol (CDDBP) | ||
| Yes | Unofficial | IBM Endpoint Manager Remote Control | |||
| 897 | Yes | Yes | Unofficial | Brocade SMI-S RPC | |
| 898 | Yes | Yes | Unofficial | Brocade SMI-S RPC SSL | |
| 902 | Yes | Yes | Unofficial | VMware ESXi | |
| 903 | Yes | Unofficial | VMware ESXi | ||
| 953 | Yes | Reserved | Official | BIND remote name daemon control (RNDC) | |
| 981 | Yes | Unofficial | Remote HTTPS management for firewall devices running embedded Check Point VPN-1 software | ||
| 987 | Yes | Unofficial | Microsoft Remote Web Workplace, a feature of Windows Small Business Server | ||
| 989 | Yes | Yes | Official | FTPS Protocol (data), FTP over TLS/SSL | |
| 990 | Yes | Yes | Official | FTPS Protocol (control), FTP over TLS/SSL | |
| 991 | Yes | Yes | Official | Netnews Administration System (NAS) | |
| 992 | Yes | Yes | Official | Telnet protocol over TLS/SSL | |
| 993 | Yes | Assigned | Official | Internet Message Access Protocol over TLS/SSL (IMAPS) | |
| 994 | Reserved | Reserved | Official | ||
| Maybe | Maybe | Unofficial | Internet Relay Chat over TLS/SSL (IRCS). Previously assigned, but not used in common practice. | ||
| 995 | Yes | Yes | Official | Post Office Protocol 3 over TLS/SSL (POP3S) | |
| 1010 | Yes | Unofficial | ThinLinc web-based administration interface | ||
| 1011–1020 | Reserved | Reserved | Official | ||
| 1023 | Reserved | Reserved | Official | ||
| Yes | Yes | Unofficial | z/OS Network File System (NFS) (potentially ports 991–1023) |
Related Articles:
Article author: Andrei Olegovich
| SSH | |
| DNS | |
| PuTTY | |
| Telnet | |
| PSTools | |
| Firefox | |
| FreeSSHD | |
| Networks | |
| SSH tunnel HowTo | |
| Port Forwarding HowTo |