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

failed to bind port 0.0.0.0:8080/tcp address already in use #6670

Open
StonedApe911 opened this issue Oct 25, 2024 · 1 comment
Open

failed to bind port 0.0.0.0:8080/tcp address already in use #6670

StonedApe911 opened this issue Oct 25, 2024 · 1 comment
Labels

Comments

@StonedApe911
Copy link

OS

  • Operating system: Linux Mint 22 Cinnamon 6.2.9 6.8.0-47-generic
  • Environment: tyk-gateway-docker

Error

tyk-gateway-docker_tyk-redis_1 is up-to-date
Starting tyk-gateway-docker_tyk-gateway_1 ... 
Starting tyk-gateway-docker_tyk-gateway_1 ... error

ERROR: for tyk-gateway-docker_tyk-gateway_1  Cannot start service tyk-gateway: driver failed programming external connectivity on endpoint tyk-gateway-docker_tyk-gateway_1 (e6bed1a409f857f7f9f6580b0e7a6a6c8cb21d43d38f58eaa7b2359eef63c31f): failed to bind port 0.0.0.0:8080/tcp: Error starting userland proxy: listen tcp4 0.0.0.0:8080: bind: address already in use

ERROR: for tyk-gateway  Cannot start service tyk-gateway: driver failed programming external connectivity on endpoint tyk-gateway-docker_tyk-gateway_1 (e6bed1a409f857f7f9f6580b0e7a6a6c8cb21d43d38f58eaa7b2359eef63c31f): failed to bind port 0.0.0.0:8080/tcp: Error starting userland proxy: listen tcp4 0.0.0.0:8080: bind: address already in use

Reproduction steps
Steps to reproduce the behavior:

  1. have an API running on port 8080
  2. try to install tyk gateway
@zalbiraw
Copy link
Member

@StonedApe911 it seems like this is an issue on your end with something running on port 8080

before running the docker containers, can you run lsof -i :8080 and see if there is anything running on 8080? You can simply change the port and it should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants