A port is a virtual location where network connections start and finish. Ports are software-based and handled by a computer's operating system. Each port is connected with a certain process or service.