Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Service Mapping Advanced On Demand Lab 2.4 and Lab 6.1

Ai Yamano1
Tera Contributor

Hi,

While doing  Service Mapping Advanced On Demand course Lab 2.4 and Lab 6.1,
I encountered the following discovery error:

"XX.XX.XX is not a reachable host (no response to target ports scanned by MID)"

Could you please advise which setting I might be missing..?


Discovery Error:
AiYamano1_0-1761404904195.png

Application Service settings:

AiYamano1_4-1761406175925.png



------------------------------------------------------------------
Additional Info:
MID Server status is up and validated.

AiYamano1_1-1761405531887.png

Credentials are also validated.

AiYamano1_2-1761405691543.png

AiYamano1_3-1761405735991.png


Best Regards,

Ai.

2 REPLIES 2

kaushal_snow
Giga Sage

@Ai Yamano1 ,

 

It looks like the error <IP> is not a reachable host (no response to target ports scanned by MID) in your ServiceNow Discovery/ServiceNow Service Mapping setup is telling you that even though your MID Server is up and credentials are validated, the MID Server either doesn’t have network-level reachability to the target host (for example due to routing, subnet scope or firewall issues) or the standard ports the MID Server tries to scan (such as RPC/WMI on Windows or SSH on Linux) are blocked or not responded to. This typically happens if the MID Server’s IP range configuration doesn’t include the target host, or if the target machine’s firewall is preventing connections from the MID Server, or the host simply isn’t active at the time of the scan........ For example, a common resolution flagged by users is: Your MID Server doesn’t have the necessary network access to the target, or a firewall is preventing its scanning.....


In this kind of lab scenario you should verify from the MID Server machine that you can ping (or connect via telnet/SSH/WMI) the target IP and port, confirm that the target is powered on and reachable, confirm the firewall allows the MID Server’s IP, and ensure the IP address range in the Discovery/MID Server config includes that host..........Once network reachability is confirmed, the error should resolve and the scan will progress past the not reachable host stage.........

 

If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/

Hi @kaushal_snow ,


Thank you so much for your detailed and helpful response!

Following your advice, I tried several troubleshooting steps and gathered more information, which eventually led me to this article:
https://learning.servicenow.com/lxp/en/on-demand-training-and-content/service-mapping-advanced-ip-ad... 

It turned out that the IP address itself was incorrect—something I hadn't even considered!


Your advice about verifying network reachability, firewalls, and MID Server configuration for Discovery troubleshooting is incredibly valuable, and I was very impressed by its thoroughness.
Thank you again for your assistance. I will definitely mark your response as 'Helpful' now.

Please continue to help other struggling Community members!

Thank you,
Ai.