hashicorp / hashicorp/consul

When the number of consul services exceeds 65535, the program listening to the consul service will be abnormal due to lack of available ports

Open
#18,402 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

#### Overview of the Issue

When the number of consul services exceeds 65535, the program listening to the consul service will be abnormal due to lack of available ports

#### Reproduction Steps

1、add more than 65535 services to consul

2、The program for service discovery through consul will have the following exceptions:
```
Cannot assign requested address
```
The reason is that the maximum number of available ports is only 65535.
Whether a single consul cannot support more than 65535 services?

Contributor guide

Open the contributing guide

Research direction

The issue provides no source files, tests, or entry points to follow. Start by reproducing service discovery with more than 65,535 Consul services and confirming the "Cannot assign requested address" failure; done would require an agreed scope for whether Consul should support this scale or document the limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
distributed-systems, networking
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.