Ce este un port? Pur și simplu explicat
Când vine vorba de conexiuni la Internet, termenul de port este folosit din nou și din nou. Dar ce este exact asta? Tradus, termenul înseamnă „port”, conexiune sau „deschidere”. În acest articol vă explicăm cum să înțelegeți totul în raport cu computerul și internetul.
Port - ce este de fapt?
Cuvântul englezesc „port” poate fi tradus și cu cuvântul „gate” sau „passage”. Un port permite comunicarea între computer și alte computere, precum și internet. Un firewall închide porturile neutilizate, astfel încât niciun viruș să nu poată ajunge pe computer prin intermediul lor.
- Cu porturile, pachetele de date pot fi întotdeauna alocate unei aplicații adecvate pe internet. Calculatorul dvs. are un total de 65.536 de porturi. Dacă un pachet de date, de exemplu un e-mail, ajunge pe computerul dvs., acesta este întotdeauna dirijat prin portul rezervat e-mailurilor.
- De exemplu, dacă deschideți site-ul CHIP.de, computerul trimite o solicitare către serverul web pentru datele necesare. Această solicitare este trimisă prin portul 80, care este întotdeauna utilizat pentru site-uri web.
- În imagine, devine puțin mai ușor. Calculatoarele trimit date în pachete mici. Portul este scris pe pachet ca destinatar. Pachetul va fi apoi transmis prin ușă cu numărul corect și trimis.
- Protocoalele TCP și UDP s-au executat deja cu siguranță. Aceasta permite, printre altele, conexiuni directe între două aplicații de pe două computere. Acesta este un avantaj pentru partajarea directă a fișierelor, de exemplu.
Porturile individuale sunt necesare pentru aceasta
- Numerele de porturi posibile variază de la 1 la 65535. Primele 1-1023 porturi au fost determinate de către Internet Assigned Numbers Authority (IANA) pentru anumite servicii și scopuri. Deci portul 80 este folosit pentru navigare (HTTP), iar portul 25 este întotdeauna folosit pentru e-mail (SMTP).
- Porturile cuprinse între 1024 și 49151 pot fi atribuite gratuit de programe și aplicații. Similar cu un site web, o companie poate cumpăra un port pentru serviciul său, astfel încât pachetele de date să fie garantate să sosească la destinație.
- Porturile rămase între 49152 și 65535 sunt dinamice. Acest lucru înseamnă că aceste porturi nu sunt alocate direct niciunei aplicații. Acestea, precum și toate porturile de peste 1023, sunt considerate un risc potențial de securitate, deoarece malware-ul poate ajunge pe computer prin intermediul porturilor. Firewall-ul încearcă să prevină acest lucru pe cât posibil.
În următorul sfat practic, vom explica care sunt termenii TCP și adresa IP.