answersLogoWhite

0


Best Answer

Virtual Ports Virtual Ports are used in TCP and UDP to identify unique end-to-end connections. They are called 'virtual ports' because a single physical connector can serve multiple connections. Each side of a connection uses its own port number, which does not change during the life of that connection.

Client-Server PairingsAll TCP and UDP traffic utilizes a client-server scheme, so there is always a client port and a server port used for every connection.

A pair of fields within the TCP and UDP headers is used to track the source and destination Virtual Port Numbers used for that socket connection. Each field in the header is sixteen bits wide, so the value in the field can range from 0 - 65534. Each computer host uses a unique IP address, and also uses a unique source and destination port pairings to identify that specific connection between the two computers. Typically, when your computer connects to a website, it connects to the destination website on port 80 (the default port for HTTP / web traffic). A different source port on the local host is used. At one time, this port number was the next number above 1024 that wasn't already in use for another connection. For example, the first website connection would be set up on the source port of 1025 and the second connection on 1026. If the 1025 port is no longer needed and is closed, and another port is needed, then 1025 would be used.

Today, to defeat hackers, computer systems are choosing the source port at random as hackers can predict this behavior and hijack sessions by predicting new connections being opened.

Servers run network services, these services are bound to a virtual port and listen for communication on that virtual port. It is possible for multiple clients to connect to the same service and thus, use the same destination port number when connecting to the server. Because each client uses a unique IP address and port number, the server can keep track of up to 65534 connections per host.

However, whether the port number is the source, or the destination port depends on which side is currently transmitting information. The client and server asynchronously transmit and receiving information using these ports.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How is a virtual port connected and used?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is pvid?

A Port VLAN ID (pvid) is a default VLAN ID that is assigned to an access port to designate the virtual LAN segment to which this port is connected. The pvid places the port into the set of ports that are connected under the designated VLAN ID. Also, if a trunk port has not been configured with any VLAN memberships, the virtual switch's Port VLAN ID (pvid) becomes the default VLAN ID for the ports connection.


Which port can the keyboard be connected to?

A keyboard can be connected to PS2 port or a USB port


What is Port in hardware?

The port is located may be located on the back or front of your computer. For instance a USB port is usually on the front. A port is then connected to a certain device. For instance your keyboad is connected to a keyboard port so that your computer keyboard can work. All ports are connected to the motherboard, which allows whaever device port you connected to to run...


What is a physical port?

A physical port, as opposed to a virtual or logical port is an interface on a computer into which you can insert a connector for a device.


What is the role of the Ethernet port on a PC?

The role of the ethernet port on a PC is to allow internet to be connected. Without an ethernet port, there is no place for the computer to be connected to the internet.


What is virtual com port?

A virtual port is a software emulation of a port which normally would be present in hardware. This is most commonly used with modems and printers. Many internal modems emulate a COM port. When modems first became common by far the most common type was an external modem which plugged into a serial port (a COM port) in the back of the machine. Nearly all of the early dial-up networking applications were written with the assumption that the modem could be found on one of these COM ports. While it is no longer necessary for the modem to reside on a COM port, most new modems still emulate one in order to maintain compatibility with these legacy applications. Printers can also reside on a virtual port for much the same reasons. All printers used to plug into a parallel port (an LPT port) on the computer. As a result many legacy programs were written with the assumption that any printers would be located on an LPT port. When USB printers became commonplace it became necessary to allow these USB printers to be assigned a virtual parallel port in order to maintain compatibility with these older programs. This can be configured in the OS in the printers settings and is most often used for DOS-level point-of-sale or data-entry applications.


Where are peripheral connected?

Computer peripherals are connected to ports. For instance, a printer may be connected to a serial or parallel port. Modern keyboards and mice are commonly connected to the computer using the USB port.


When a serial port is used by an external modem the serial port is called the?

In the past external modems connected to the COM (or serial) port. However, most modern external hardware is USB these days, modems are no exception.


Which are the virtual pathways into a computer that firewalls close?

logical port


What are some virtual world makers for kids?

Connected Studios, Inc. is a creator of the virtual world, ToonsTunes.com.


Why would a PC state that it is not connected to the internet then say that the port is already open?

The computer does not have to be connected to the internet at all for the port to be open, or listening.


What device can be connected to a DVI port?

camera