Port

In the computer world, the term "port" has three different meanings. It may refer to 1) a hardware port, 2) an Internet port number, or 3) the process of porting a software program from one platform to another.

1. Hardware Port

A hardware port is a physical connection on a computer or another electronic device. Common ports on modern desktop computers include USB, Thunderbolt, Ethernet, and DisplayPort. Previous generations of computers used different ports, such as serial ports, parallel ports, and VGA ports. Mobile devices often have only one port. For example, an iPhone or iPad may have a single Lightning connector. Android devices often have a USB-C port.

The purpose of a hardware port is to provide connectivity and/or electrical power to a device. For example, the USB ports on a computer can be used to connect keyboards, mice, printers, or other peripherals. The USB-C port on a smartphone may be used to charge the device and sync it with a PC.

NOTE: A hardware port may also be called an interface, jack, or connector.

2. Internet Port Number

All data transmitted over the internet is sent and received using a specific set of commands, also known as a protocol. Each protocol is assigned a specific port number. For example, all website data transferred over HTTP uses port 80. Data sent over HTTPS uses port 443. Other common ports include:

  • Port 20 - FTP (file transfer protocol)
  • Port 22 - SSH and SFTP
  • Port 25 - SMTP (outgoing email)
  • Port 465 - SMTP over SSL
  • Port 143 - IMAP (incoming email)
  • Port 993 - IMAP over SSL

Port numbers are similar to wireless channels in that they prevent conflicts between different protocols. They also provide a simple way to implement network security measures, since it is possible to allow or block specific protocols.

3. Porting Software

"Port" may also be used as a verb. Porting software means taking an application written for one platform and making it work on another one. For example, a Windows program may be ported to macOS. An iOS app may be ported to Android.

In order to port a program from one platform to another, it must be written for the corresponding hardware and operating system. Programs built using a universal development environment may be relatively easy to port, while programs that rely heavily on an operating system's API may have to be completely rewritten.

Updated September 19, 2018 by Per C.

quizTest Your Knowledge

A digitally recorded date and time is also called what?

A
Timeclock
0%
B
Timestamp
0%
C
Timelog
0%
D
Timebit
0%
Correct! Incorrect!     View the Timestamp definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Port on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.