Error: Agent shutting down due to invalid IP

Error: Agent shutting down due to invalid IP

Issue:

While executing a new request we see that; the agent is in STOP state & not getting started after downloading a new agent.
This happens when we use invalid IP on server while we whitelisted & we get the below error:

Agent:


How to reproduce:

To reproduce this issue you can use IP/IP range/CIDR other than your system IP or 0.0.0.0/0

Resolution:

To resolve this issue we need to use the appropriate IP or 0.0.00/0 and remove invalid IP.

      Links to better reach 

            Bot Store

             EPD