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

SERVER_ADDRESS: ERROR #8

Open
ranying666 opened this issue Dec 3, 2019 · 3 comments
Open

SERVER_ADDRESS: ERROR #8

ranying666 opened this issue Dec 3, 2019 · 3 comments

Comments

@ranying666
Copy link

add: SERVER_ADDRESS: d.b.x
show error:

Caused by: java.net.BindException: Cannot assign requested addres

how to config SERVER_ADDRESS in k8s?

@cabbage89
Copy link
Collaborator

其实这个问题我也不太清楚,应该要看下spring boot 的文档

@zhangsean
Copy link

把spring.server.address配置置空

@tanzhaozhao
Copy link

可以参考如下配置:
- SERVER_PROTOCOL=https
- SERVER_ADDRESS=0.0.0.0
- SERVER_ACCESS_ADDRESS=davinci.github.com
- SERVER_ACCESS_PORT=443
或者
- SERVER_PROTOCOL=http
- SERVER_ADDRESS=0.0.0.0
- SERVER_ACCESS_ADDRESS=davinci.github.com
- SERVER_ACCESS_PORT=80

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

4 participants