how can an application use port 80/HTTP without conflicting with browsers?

前端 未结 7 1341
执笔经年
执笔经年 2020-12-02 05:27

If I understand right, applications sometimes use HTTP to send messages, since using other ports is liable to cause firewall problems. But how does that work without conflic

7条回答
  •  被撕碎了的回忆
    2020-12-02 06:02

    Port 80 you're talking about here is the remote port on the server, locally browser opens high port for each connection established.

    Each connection has port numbers on both ends, one is called local port, other remote port.

    Firewall will allow traffic to high port for browser, because it knows that connection has been established from you computer.

提交回复
热议问题