# system.util.sendMessage to remote gateway

**URL:** <https://forum.inductiveautomation.com/t/system-util-sendmessage-to-remote-gateway/21588>\
**Category:** Ignition\
**Created:** [December 24, 2018, 8:39pm UTC](https://forum.inductiveautomation.com/t/system-util-sendmessage-to-remote-gateway/21588 "2018-12-24T20:39:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rberghammer](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rberghammer/32/7150_2.png) [@rberghammer](https://forum.inductiveautomation.com/u/rberghammer)\
**Post date:** [December 24, 2018, 8:39pm UTC](https://forum.inductiveautomation.com/t/system-util-sendmessage-to-remote-gateway/21588/1 "2018-12-24T20:39:39Z")

</div>

Hello everyone.

Is it possible to use the system.util.sendMessage script to communicate between remote gateways that are not configured as a Gateway Network? The only examples I can find use a Gateway Network.

If this is possible, what is the syntax required for the remoteServers parameter? I have tried the following:  
remoteServers = [“x.x.x.x:8088”]

But I get this response:  
[type=Remote Gateway,address=x.x.x.x:8088,sendStatus=UNKNOWN\_GATEWAY]

Do I need to open a firewall port?

My message handler is on a remote gateway with a public IP address hosted on a webserver. I have been using the script console to test the sendMessage script from a local install. Both are running a demo license for testing.

Any advice is appreciated.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 26, 2018, 1:21am UTC](https://forum.inductiveautomation.com/t/system-util-sendmessage-to-remote-gateway/21588/2 "2018-12-26T01:21:40Z")

</div>

The Gateway Network is required.

---

<div class="post-metadata">

**Author:** ![rberghammer](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rberghammer/32/7150_2.png) [@rberghammer](https://forum.inductiveautomation.com/u/rberghammer)\
**Post date:** [December 26, 2018, 5:13am UTC](https://forum.inductiveautomation.com/t/system-util-sendmessage-to-remote-gateway/21588/3 "2018-12-26T05:13:02Z")

</div>

Thank you for the reply.
