Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using --listen-ip parameter shows error with starting teleport #51064

Open
stevenGravy opened this issue Jan 15, 2025 · 0 comments
Open

Using --listen-ip parameter shows error with starting teleport #51064

stevenGravy opened this issue Jan 15, 2025 · 0 comments
Labels
bug error-msg Improving customer facing error messages.

Comments

@stevenGravy
Copy link
Contributor

Expected behavior:

The --listen-ip would be succesful or give informative information why this isn't a valid config. The parameter otherwise needs to support a port as well.

Current behavior:

teleport start --listen-ip=172.2.2.2

ERRO             failed parsing address: '' config/configuration.go:2917
ERRO             failed parsing address: '' config/configuration.go:2917
ERRO             failed parsing address: '' config/configuration.go:2917

The issue appears to be it's setting this ip as a listen address when the services expect a host and port. Code here:

func applyListenIP(ip net.IP, cfg *servicecfg.Config) {

Bug details:

  • Teleport version: 17.1.6
  • Recreation steps
  1. Run teleport start --listen-ip=<ip>
@stevenGravy stevenGravy added bug error-msg Improving customer facing error messages. labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug error-msg Improving customer facing error messages.
Projects
None yet
Development

No branches or pull requests

1 participant