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

how to bind 0.0.0.0? #49

Open
gggin opened this issue Mar 15, 2017 · 1 comment
Open

how to bind 0.0.0.0? #49

gggin opened this issue Mar 15, 2017 · 1 comment

Comments

@gggin
Copy link

gggin commented Mar 15, 2017

No description provided.

@tedli
Copy link
Contributor

tedli commented Jun 27, 2017

@gggin If you use the microhttpd backend (mhd_), you are already bound to 0.0.0.0. However if you want to bind it to a specific IP address rather than 0.0.0.0, I think microhttpd is lack of this ability. Usually API services run behind a reverse proxy, so this won't be a problem.

如果用的时 microhttpd 做后端的话,已经是在监听 0.0.0.0 了。但是如果想监听除了0.0.0.0 之外的一个指定的 IP ,貌似 microhttpd 没给提供这个能力。通常 API 服务会在反向代理后面运行,所以不能绑定指定 IP 也没什么大不了的。

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

2 participants