How does a network card make a port (for example port 80 for http)?

1.61K views

I don’t understand how a network card or even the software on a network card can make a virtual port and then make sure that traffic is processed alongside every other port. What are these ports actually and how do they work. literally not the same repeated stuff I find on every website when I search “what is a port” i’m looking for a much more in depth understanding.

In: Technology

6 Answers

Anonymous 0 Comments

* Imagine a business office.
* Nearly every business has the same kinds of employees:
* CEO
* IT
* Lawyer
* Accountant
* Say you need to send something to a business’s accounting office.
* You don’t know the name of the accountant but you know that the thing you’re mailing has to go to them.
* So you send the mail to the businesses address and right next to the address you also put “Attention: Accounting”.
* So once the mail gets to the company, the mail-room knows to give it to the accountant.
* That’s exactly what ports on your computer do.
* When you are trying to access a website, your browser sends a request to the server.
* But the computer running the web server might be running other servers too, so your web-browser adds a little label that says “this data is for the web server”.
* This is what “port 80” is. It’s just a label added to the data to tell the computer what application it should forward the data to.
* The people who make web-servers and web-browsers (and lots of other internet applications) got together and said “we all agree that this port # will indicate this kind of application”.

You are viewing 1 out of 6 answers, click here to view all answers.