T
T
Troodi Larson2018-03-04 22:19:27
linux
Troodi Larson, 2018-03-04 22:19:27

How to open more than 65600 ports?

The program uses a large number of ports. Need more than 65k ports. Do not take the same new server for these purposes. how can this issue be resolved? Does it make sense to take an additional IP address for these purposes.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Armenian Radio, 2018-03-04
@troodi

An additional physical interface is not needed, but an additional IP is just right. There can be multiple IPs on one interface.

K
ky0, 2018-03-04
@ky0

There is some frank curvature of the application architecture here.
Given that 4 variables are used to identify the connection (two IPs and ports on both sides), I can’t honestly think of a case that requires listening to so many ports on the server.

A
Anton Kucherov, 2018-03-04
@DexterHD

To solve this issue, you need to learn the basics of networks and network programming. The number of ports is set at the iron level. Under the storage of the port in the network standards, 16 bits are laid. If you need more ports, use more network interfaces.

S
Saboteur, 2018-03-04
@saboteur_kiev

The 64k port limit is set at the protocol level, so it cannot be bypassed.
Just organize one more IP address.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question