# Cant ping from Flow

**URL:** <https://discourse.nodered.org/t/cant-ping-from-flow/86197>\
**Category:** General\
**Created:** [6 March 2024 17:42 UTC](https://discourse.nodered.org/t/cant-ping-from-flow/86197 "2024-03-06T17:42:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Homerjsimpson137](https://avatars.discourse-cdn.com/v4/letter/h/d26b3c/32.png) [@Homerjsimpson137](https://discourse.nodered.org/u/Homerjsimpson137)\
**Post date:** [6 March 2024 17:42 UTC](https://discourse.nodered.org/t/cant-ping-from-flow/86197/1 "2024-03-06T17:42:57Z")

</div>

New to Node-Red but loving it so far. Got an issue on a flow that where I'm trying to ping my printer IP address or local host as Node-Red is installed locally on my windows PC. I can ping my printer from a windows CMD prompt but cant seem to do it from the flow. Does Node-Red have some form of command line interface I can print it from Node-Red or what's the best way to troubleshoot my issue.

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [6 March 2024 17:46 UTC](https://discourse.nodered.org/t/cant-ping-from-flow/86197/2 "2024-03-06T17:46:34Z")

</div>

Welcome to the forums @Homerjsimpson137.

First question: How are you running Node RED?

- Natively
- Docker
- HA

Plus - what OS

ect etc

if not natively, then undoubtdedly that is your problem.

if you can explain your setup - it will help us to help you

---

<div class="post-metadata">

**Author:** ![Homerjsimpson137](https://avatars.discourse-cdn.com/v4/letter/h/d26b3c/32.png) [@Homerjsimpson137](https://discourse.nodered.org/u/Homerjsimpson137)\
**Post date:** [6 March 2024 18:15 UTC](https://discourse.nodered.org/t/cant-ping-from-flow/86197/3 "2024-03-06T18:15:41Z")

</div>

Opps Sorry. Running from Windows PC on Windows 10 Pro. Installed it using npm. I did get it working as the ping command I was using in my flow was using a -c and since Im windows I needed to change that to a Ping -n command. It works from the flow now but would love to know for the future if there is a way to have seen/found this issue without me pulling my hair out. Some like a terminal window within the Node-Red App that I could have pulled up and ran some basic troubleshooting or some like this. Also Im still reading up on Node-Red so not an expert yet but want to make sure my flows are safe and backed up as if they get complicated (and they will), I don't want to have them lost and not be able to run. I need to make Node-Red run all the time and boot up at startup of the PC if for some reason the PC restarts or looses power.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [6 March 2024 18:44 UTC](https://discourse.nodered.org/t/cant-ping-from-flow/86197/4 "2024-03-06T18:44:09Z")

</div>

There is a node `node-red-node-ping` that simplifies all this for you.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [4 June 2024 18:44 UTC](https://discourse.nodered.org/t/cant-ping-from-flow/86197/5 "2024-06-04T18:44:48Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
