Discovery Agent on devices with multiple network interfaces
Platform Notice: Cloud and Data Center - This article applies equally to both cloud and data center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
How to run Discovery agent on machines with multiple network interfaces where any one random interface is up.
Environment
Discovery Agent on Windows devices
Solution
- Install and configure Discover agent as per Set up Assets Discovery Agent
- Navigate to c:\Program files\Discovery Agent
- Open Agent.cfg file
Update 'UseAllNetworkInterfaces' to True
- Save and restart Agent service.
This will enable the Discovery agent to listen on multiple network interface (Based on device config) and listen on any available interface.