Ports

From InfoAnarchy
Jump to: navigation, search

See also: Port

Internet protocol allows many programs to use the network at the same time. Different port numbers are used for different protocols.

One of the RFC's that describe how the Internet works allocates ports to well known services. Creators of software and computer users can use any port they feel like however using allocated ports avoids problems with two different programs trying to use the same port.

According to the standards a port number can be anything from 1 to 65535. Windows allows the use of port 0. Linux doesn't. When I looked a couple of years ago a significant number of Gnutella/0.4 clients were listening on port 0. Some personal firewall software for Windows refuses to allow connections in or out on port 0. There is no practical reason for disallowing the use of port 0.

List of default ports used by ie. file-sharing applications. Please limit this to commonly-used ports or by programs that are of interest here at infoAnarchy. Some are mentioned for historical reasons.

Official: listing of Ports, by service.

Some are mentioned for historical reasons. The following are officially assigned by IANA.

Name

Port #, TCP or UDP Description

  • ftp-data

20/tcp

  1. File Transfer Protocol (data)

21/tcp

22/tcp

  1. SSH Remote Login Protocol
  • ssh

22/udp

23/tcp

25/tcp

mail

69/udp

  1. Trivial File Transfer Protocol

70/tcp

  1. Internet Gopher
  • gopher

70/udp

80/tcp

http

  1. WorldWideWeb HTTP

109/tcp

postoffice pop-2 # POP version 2

  • pop2

109/udp

pop-2

110/tcp

pop-3

  1. POP version 3
  • pop3

110/udp

pop-3

119/tcp

readnews untp

  1. USENET News Transfer Protocol
  • netbios-ns

137/tcp

  1. NETBIOS Name Service
  • netbios-ns

137/udp

  • netbios-dgm

138/tcp

  1. NETBIOS Datagram Service
  • netbios-dgm

138/udp

  • netbios-ssn

139/tcp

  1. NETBIOS session service
  • netbios-ssn

139/udp

  • imap2

143/tcp

imap

  1. Interim Mail Access P 2 and 4
  • imap2

143/udp

imap

194/tcp

  1. Internet Relay Chat
  • irc

194/udp

  • imap3

220/tcp

  1. Interactive Mail Access
  • imap3

220/udp

  1. Protocol v3

389/tcp

  1. Lightweight Directory Access Protocol
  • ldap

389/udp

443/tcp

  1. http protocol over TLS/SSL
  • https

443/udp

  • ssmtp

465/tcp

smtps

  1. SMTP over SSL
  • nntps

563/tcp

snntp

  1. NNTP over SSL
  • nntps

563/udp

snntp

  • ldaps

636/tcp

  1. LDAP over SSL
  • ldaps

636/udp

  • ftps-data

989/tcp

  1. FTP over SSL (data)
  • ftps

990/tcp

  • telnets

992/tcp

  1. Telnet over SSL
  • telnets

992/udp

  • imaps

993/tcp

  1. IMAP over SSL
  • imaps

993/udp

  • ircs

994/tcp

  1. IRC over SSL
  • ircs

994/udp

  • pop3s

995/tcp

  1. POP-3 over SSL
  • pop3s

995/udp

3306/tcp

  • mysql

3306/udp

6667/tcp

  1. Internet Relay Chat

For a complete list see the file /etc/services (*NIX), c:\windows\system32\etc\services (Windows) or on-line:

Unofficial: listing of Ports, by service.

A compiled list by infoAnarchy for unofficial ports. Ie. progressive, new but still unoffical or for example "underground" or P2P.

Name

Port #, TCP or UDP Description

1214/tcp

  1. Kazaa File Sharing
  • fasttrack

1214/udp

  1. Kazaa File Sharing

1234/tcp

1337/tcp

  1. Nullsoft WASTE encrypted P2P ap
  • peerenabler

3531/tcp

  1. P2PNetworking/PeerEnabler protocol
  • peerenabler

3531/udp

  1. P2PNetworking/PeerEnabler protocol

6346/tcp

  1. Gnutella file sharing protocol

6699/tcp

  1. Napster File (MP3) sharing software

For a huge list of unofficial ports see the file /usr/share/nmap/nmap-services (Nix|*NIX), part of the Nmap portscanner. Nmap is also available for Windows.