# Node-red-node-ping always return false

**URL:** <https://discourse.nodered.org/t/node-red-node-ping-always-return-false/53165>\
**Category:** General\
**Created:** [3 November 2021 10:17 UTC](https://discourse.nodered.org/t/node-red-node-ping-always-return-false/53165 "2021-11-03T10:17:21Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)\
**Post date:** [4 November 2021 15:13 UTC](https://discourse.nodered.org/t/node-red-node-ping-always-return-false/53165/22 "2021-11-04T15:13:33Z")

</div>

Can you try instead of **[www.google.de](http://www.google.de)** the ip address of google **216.58.208.99** in the ping node  
Maybe it's dns related.

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [4 November 2021 16:04 UTC](https://discourse.nodered.org/t/node-red-node-ping-always-return-false/53165/23 "2021-11-04T16:04:45Z")

</div>

Not quite right @RainerGa. After you press the "Preformated text" button (\</\>) above the screen  
will look like this:  
 ![Screenshot-13](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/7/d7d39e501d41def6938cf3d98dc00c1691c3500c.png)

You then paste your code where the blue accented text is.

**edit - it is correct @RainerGa - my mistake]**

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [4 November 2021 16:28 UTC](https://discourse.nodered.org/t/node-red-node-ping-always-return-false/53165/24 "2021-11-04T16:28:11Z")

</div>

> [@ghayne](#):
>
> Not quite right @RainerGa

Looks ok to me Garry 🤔

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [4 November 2021 16:46 UTC](https://discourse.nodered.org/t/node-red-node-ping-always-return-false/53165/25 "2021-11-04T16:46:45Z")

</div>

Ah yes Paul, it only gets truncated to one line after a certain length!

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [4 November 2021 17:01 UTC](https://discourse.nodered.org/t/node-red-node-ping-always-return-false/53165/26 "2021-11-04T17:01:45Z")

</div>

> [@ghayne](#):
>
> it only gets truncated to one line after a certain length

In fact I think it depends on whether Compact or Formatted is selected when exporting. The default for that depends on the `flowFilePretty` setting in settings.js

---

<div class="post-metadata">

**Author:** ![RainerGa](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rainerga/32/50441_2.png) [@RainerGa](https://discourse.nodered.org/u/RainerGa)\
**Post date:** [5 November 2021 16:43 UTC](https://discourse.nodered.org/t/node-red-node-ping-always-return-false/53165/27 "2021-11-05T16:43:22Z")

</div>

> [@edje11](#):
>
> 216.58.208.99

Hello Edje11,

this works, but this is an IPV4 Adress. So it does not surprise me. (It works under following configurations: automatic, IPV4 and IPV6).

---

<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 January 2022 16:44 UTC](https://discourse.nodered.org/t/node-red-node-ping-always-return-false/53165/28 "2022-01-04T16:44:15Z")

</div>

Closed on 4 January 2022 16:44 UTC

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

[Previous page](https://discourse.nodered.org/t/node-red-node-ping-always-return-false/53165.md?page=1)
