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

WebServer is not bound to IP Address configured in the "bind to" setting #670

Open
krysstof opened this issue Mar 17, 2020 · 1 comment
Open

Comments

@krysstof
Copy link

Issue and Steps to Reproduce

configure a "bind to" option in either [/settings/WEB/server] or [/settings/default] on a server with multiple IP addresses
restart the service

PLEASE PROVIDE COMMAND HERE

use netstat to see the port listening (or the ressource monitor), exemple with port 8443
netstat -an |findstr 8443
TCP 0.0.0.0:8443 0.0.0.0:0 LISTENING
0.0.0.0 means any IP addresses

Expected Behavior

the ip should be bound for both NRPE and WEB, only NRPE is boud
for comparison, with nrpe on 5666
netstat -an |findstr 5666
TCP 192.168.13.4:5666 0.0.0.0:0 LISTENING
this works fine

Actual Behavior

see command step, the IP is not bound, and the web server listen on any IP addresses.

Details

  • NSClient++ version: 0.5.2
  • OS and Version: Windows Server 2016
  • Checking from: Centreon
  • Checking with: anything

Additional Details

This issue is blocking only on Direct Access Windows servers. when binding on the internal IP, the firewall rule let things pass, but when binding on "any" the firewall blocks. and the fw is mandatory for direct access.
the problem is really a firewalling issue, but when the binding works for nrpe, the port is open and accessible.

NSClient++ log:

empty log
@krysstof krysstof changed the title WebServer is bound to IP Address configuered in the "bind to" setting WebServer is not bound to IP Address configuered in the "bind to" setting Mar 17, 2020
@krysstof
Copy link
Author

as a comment : Don't use port from 6000-47000 on a direct access server, this is not allowed.
but the non binding is still an issue

@krysstof krysstof changed the title WebServer is not bound to IP Address configuered in the "bind to" setting WebServer is not bound to IP Address configured in the "bind to" setting Mar 17, 2020
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

1 participant