elastic / elastic/elastic-package

Port 8200 for APM collides with trivnet1

Open
#2,889 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
72
Forks
141
Avg merge
19h 42m
Merged PRs (30d)
55

Description

Port 8200 and 8201 are the default ports for trivnet1 and trivnet2 which are installed by hashicorop vault on macos.

Turning on the installation of the APM server and starting the stack results in this error:

`Error response from daemon: ports are not available: exposing port TCP 127.0.0.1:8200 -> 127.0.0.1:0: listen tcp4 127.0.0.1:8200: bind: address already in use
Error: booting up the stack failed: running docker-compose failed: running command failed: running Docker Compose up command failed: exit status 1: ports are not available: exposing port TCP 127.0.0.1:8200 -> 127.0.0.1:0: listen tcp4 127.0.0.1:8200: bind: address already in use

sudo lsof -i :8200
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
vault ...redacted... TCP localhost:trivnet1 (LISTEN)
`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the APM server port 8200/8201 in the Docker Compose configuration and reproduce the failure with macOS Vault's trivnet1 service listening on port 8200. The work is done when the APM stack starts without the reported port collision.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose
Domain
cli, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.