Skip to content

Port number 65535 is valid for using #256

Open
@dmitry-lipetsk

Description

@dmitry-lipetsk

Testgres cannot allocate a port number 65535, because it uses the range(1024, 65535):

self._available_ports: typing.Set[int] = set(range(1024, 65535))

Image

I think we have to allow usage of 65535 port number to enlarge our valid range of ports )

The fix is trivial - set ( range ( 1024 , 65536 )

Another problems in this code will be fixed, too.

See also

https://www.ncftp.com/ncftpd/doc/misc/ephemeral_ports.html

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions