Skip to content

Instantly share code, notes, and snippets.

@wichopy
Created October 29, 2023 02:01
Show Gist options
  • Save wichopy/e23463ad6c63b7cf9211736b46590c0a to your computer and use it in GitHub Desktop.
Save wichopy/e23463ad6c63b7cf9211736b46590c0a to your computer and use it in GitHub Desktop.
Resolving bad dns errors for bun docker service
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