-
Notifications
You must be signed in to change notification settings - Fork 99
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
docker方式启动,但无法访问页面 #30
Comments
我发现问题了,项目application.yml文件里面指定了spring.server.address 指定了 127.0.0.1,导致只能监听本地。 cp -v /opt/davinci/config/application.yml.example /opt/davinci/config/application.yml \
&& sed -i 's|address:\ 127.0.0.1|address:|' config/application.yml |
This was referenced Nov 17, 2020
Open
感谢!,真是这个问题 |
我为Davinci做了docker镜像,zhangsean/davinci,每天监控�davinci版本发布自动构建镜像,有基于alpine和openj9两个jre的版本,一个镜像小,一个内存占用小,大家可以试试。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker方式启后,在容器内部可以通过curl http://localhost:8080 获取响应,但在宿主机无法通过http://localhost:58083 访问(端口可以确定是映射的宿主机的58083端口),求助,谢谢
The text was updated successfully, but these errors were encountered: