B
B
beduin012016-09-10 13:55:10
Computer networks
beduin01, 2016-09-10 13:55:10

Why can an application only listen on one port?

Actually, the answer is not in the style: "because it's done that way", but an explanation of the reason.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dimonchik, 2016-09-10
@dimonchik2013

because without a port it will not be an application
and there can be more than one
proxy listening at least 3, and even more on holidays

V
Valentin, 2016-09-10
@vvpoloskin

How many times in the application in the code listen is called for sockets, so many ports will listen, at least 65k, until the failed system sends

C
CityCat4, 2016-09-10
@CityCat4

Because scuba. A competent question contains half of the answer :) In general, an abstract application, as Valentin correctly noted, can listen to at least all 65535 ports, there are no restrictions on this. And a certain specific application - because it was programmed that way - to listen to one port and did not assume the possibility of changing it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question