|< < 10 > >|

Services

Service lifecycle

How do you connect to a service? (Part 2)

  • The service you are using has a port number.
  • See /etc/services.
# Network services, Internet style # # Note that it is presently the policy of IANA to assign a single well-known # port number for both TCP and UDP; hence, officially ports have two entries # even if the protocol doesn't support UDP operations. # # Updated from http://www.iana.org/assignments/port-numbers and other # sources like http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/services . # New ports will be added on request if they have been officially assigned # by IANA and used in the real-world or are needed by a debian package. # If you need a huge list of used numbers please install the nmap package. ... ssh 22/tcp # SSH Remote Login Protocol ssh 22/udp ... http 80/tcp www # WorldWideWeb HTTP http 80/udp # HyperText Transfer Protocol https 443/tcp # http protocol over TLS/SSL https 443/udp ... imaps 993/tcp # IMAP over SSL imaps 993/udp ... nfs 2049/tcp # Network File System nfs 2049/udp # Network File System ... postgresql 5432/tcp postgres # PostgreSQL Database postgresql 5432/udp postgres ... # Local services

|< < 10 > >|