Skip to content

Instantly share code, notes, and snippets.

@amrutprabhu
Last active April 22, 2021 15:09
Show Gist options
  • Save amrutprabhu/0d09f52952401f71178ecdf140e2daf1 to your computer and use it in GitHub Desktop.
Save amrutprabhu/0d09f52952401f71178ecdf140e2daf1 to your computer and use it in GitHub Desktop.
Docker container access host port on mac and windows
For Mac and windows that use docker for desktop,
you can use `host.docker.internal` as the hostname to access the host machine's ports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment