Kaynağa Gözat

ports

master
Anthony Fadly 1 yıl önce
ebeveyn
işleme
74ac1fbc23
1 değiştirilmiş dosya ile 10 ekleme ve 1 silme
  1. 10
    1
      oct22-dns2.md

+ 10
- 1
oct22-dns2.md Dosyayı Görüntüle

@@ -1,4 +1,4 @@
# October 22 - DNS Continued
# October 22 - DNS Continued (and Ports)

## Overview

@@ -30,7 +30,16 @@
$ echo '0.0.0.0 example.com' >> /etc/hosts
```

## Ports

A socket contains a source and destination ip and port, it lists every
connection.

Ports 0-1024 are "privilege ports" and require root to use.

Port 42 used to be used for WINS, Windows Internet Naming Service, before it was
replaced with regular DNS.

Port 53 is for DNS.

HTTP is on port 80 for the server and for any port over 1024 for the client.

Loading…
İptal
Kaydet