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

前端 未结 7 1343
执笔经年
执笔经年 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:10

    You need to be careful in making the distinction between "listening on port 80" and "connecting to port 80".

    When you say "applications sometimes use HTTP to send messages, since using other ports is liable to cause firewall problems", you actually mean "applications sometimes send messages to port 80".

    The server is listening on port 80, and can accept multiple connections on that port.

提交回复
热议问题