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

haven't access outside docker #9

Closed
ilyafreer opened this issue Apr 12, 2023 · 2 comments
Closed

haven't access outside docker #9

ilyafreer opened this issue Apr 12, 2023 · 2 comments

Comments

@ilyafreer
Copy link

ports:
- '8080:8080'

requests outside container don't answer
inside all is good

@MiguelMJ
Copy link
Owner

Do other services respond from outside? It would be good to know if it is a Milua thing or another problem with the container configuration (I don't have much experience with Docker)

@wmb1207
Copy link
Contributor

wmb1207 commented Apr 15, 2023

To have Access from outside a docker container make sure to set the config your server to listen on 0.0.0.0 and the right port

Config:extend({
    HOST="0.0.0.0",
    PORT="8080",
})

@MiguelMJ MiguelMJ closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2024
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

No branches or pull requests

3 participants