Skip to content

Conversation

@itskingori
Copy link
Member

Because we have nginx running it's health check on 18080 which results in a port conflict (using Intellection/docker-nginx). Since we're running nginx-proxy on 8081 anyway (for the same reason), makes sense to use 18081. Here’s the error …

2021/01/07 09:45:11 [emerg] 1#1: bind() to 0.0.0.0:18080 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:18080 failed (98: Address in use)
2021/01/07 09:45:11 [emerg] 1#1: bind() to 0.0.0.0:18080 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:18080 failed (98: Address in use)
2021/01/07 09:45:11 [emerg] 1#1: bind() to 0.0.0.0:18080 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:18080 failed (98: Address in use)
2021/01/07 09:45:11 [emerg] 1#1: bind() to 0.0.0.0:18080 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:18080 failed (98: Address in use)
2021/01/07 09:45:11 [emerg] 1#1: bind() to 0.0.0.0:18080 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:18080 failed (98: Address in use)
2021/01/07 09:45:11 [emerg] 1#1: still could not bind()
nginx: [emerg] still could not bind()

Because we have nginx running it's health check on 18080 which results
in a port conflict. Since we're running nginx-proxy on 8081 anyway (for
the same reason), makes sense to use 18081. Here’s the error …

```
2021/01/07 09:45:11 [emerg] 1#1: bind() to 0.0.0.0:18080 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:18080 failed (98: Address in use)
2021/01/07 09:45:11 [emerg] 1#1: bind() to 0.0.0.0:18080 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:18080 failed (98: Address in use)
2021/01/07 09:45:11 [emerg] 1#1: bind() to 0.0.0.0:18080 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:18080 failed (98: Address in use)
2021/01/07 09:45:11 [emerg] 1#1: bind() to 0.0.0.0:18080 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:18080 failed (98: Address in use)
2021/01/07 09:45:11 [emerg] 1#1: bind() to 0.0.0.0:18080 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:18080 failed (98: Address in use)
2021/01/07 09:45:11 [emerg] 1#1: still could not bind()
nginx: [emerg] still could not bind()
```
@itskingori itskingori requested a review from a team as a code owner January 7, 2021 10:07
@itskingori itskingori merged commit 181ff1e into master Jan 7, 2021
@itskingori itskingori deleted the change_healthcheck_port branch January 7, 2021 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants