-
Notifications
You must be signed in to change notification settings - Fork 0
Addressing.md
z22756392z edited this page Jun 16, 2021
·
6 revisions
理論上是 燒在網路卡上的固定address
但電腦在讀取時 會將他的address 轉變成軟體
因此可以通過特殊的方法改變 Mac address 而實際的 網路卡卡號是一樣的
可以把他想成通訊位置 像是在教室時的ip
與回到家裡的ip 是不同的
電腦中在跑時 可能會有好幾個應用程式 而接收到的訊息要由哪個應用程式來收 我們用port number 來區別
ex:
FTP server 21(不安全 沒有加密 通常是在內網使用(private network) 不會再公開網路使用(public network))
telnet server 23
ssh server 22
http 80
https(有加密) 443
像寄信時 有收件者與寄件者的概念
如同 寄件時 需要知道你要寄給誰 位置ID
就是port number 而每port number都有對應的應用程式在接收
FTP serve
sometime there are same application like www.a.com , www.b.com, www.c.com
their port number are all the same
then virtual host is the one to identify message which to receive