Created
October 29, 2023 02:01
-
-
Save wichopy/e23463ad6c63b7cf9211736b46590c0a to your computer and use it in GitHub Desktop.
Resolving bad dns errors for bun docker service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you get the following type of error when trying to deploy a node / bun service as a docker container: | |
`10.57.42.1:3000: error trying to connect: Connection refused (os error 111)` | |
To fix, set the hostname to `0.0.0.0` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment