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

agent上报给hbs的ip不准确 #61

Open
missuzhang opened this issue Aug 5, 2016 · 1 comment
Open

agent上报给hbs的ip不准确 #61

missuzhang opened this issue Aug 5, 2016 · 1 comment

Comments

@missuzhang
Copy link
Contributor

目前是取本地ip列表中的第一个上报给hbs,多网卡的时候不准确

@oiooj
Copy link
Contributor

oiooj commented Aug 8, 2016

@missuzhang 是的 一般情况会上报第一个IP地址,因为大多数情况只有一个内网IP地址,如果这个IP并不是你想上报的地址,建议在配置里面自己手动指定一下:

{
    "debug": true,
    "hostname": "",
    "ip": "",    //这里配置

missuzhang added a commit to missuzhang/agent that referenced this issue Sep 2, 2016
missuzhang added a commit to missuzhang/agent that referenced this issue Sep 2, 2016
UlricQin pushed a commit that referenced this issue Sep 12, 2016
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