# Use Port 502 with Modbus-TCP

**URL:** https://discourse.nodered.org/t/use-port-502-with-modbus-tcp/39615
**Category:** General
**Created:** [23 January 2021 16:38 UTC](https://discourse.nodered.org/t/use-port-502-with-modbus-tcp/39615 "2021-01-23T16:38:09Z")
**Posts on this page:** 1
**Showing post:** 13

<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: [24 January 2021 11:07 UTC](https://discourse.nodered.org/t/use-port-502-with-modbus-tcp/39615/13 "2021-01-24T11:07:36Z")

</div>

> [@heino](#):
>
> `setcap -v`

The `-v ` is used to verify that the setcap has worked. Do it without `-v` first then with to check it.  
As suggested, use `which node` to find where the executable is.

---

_[View the full topic](https://discourse.nodered.org/t/use-port-502-with-modbus-tcp/39615)._
