# Check Port Number Status

**URL:** <https://forum.inductiveautomation.com/t/check-port-number-status/7304>\
**Category:** Ignition\
**Created:** [September 23, 2013, 6:56pm UTC](https://forum.inductiveautomation.com/t/check-port-number-status/7304 "2013-09-23T18:56:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cacordova](https://avatars.discourse-cdn.com/v4/letter/c/bbce88/32.png) [@cacordova](https://forum.inductiveautomation.com/u/cacordova)\
**Post date:** [September 23, 2013, 6:56pm UTC](https://forum.inductiveautomation.com/t/check-port-number-status/7304/1 "2013-09-23T18:56:20Z")

</div>

I setup a port number for one of my devices and was wondering how can I check it in Ignition to see if its open or not?

---

<div class="post-metadata">

**Author:** ![Robert.McKenzie](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.mckenzie/32/4134_2.png) [@Robert.McKenzie](https://forum.inductiveautomation.com/u/Robert.McKenzie)\
**Post date:** [September 24, 2013, 3:42pm UTC](https://forum.inductiveautomation.com/t/check-port-number-status/7304/2 "2013-09-24T15:42:58Z")

</div>

Are you saying that in a script you have opened a port and want to try getting data from it? You can use the try/except functions in Python to handle code that fails to retrieve data.

Have you looked into the Serial module? You can find it on the [Module Marketplace](http://marketplace.inductiveautomation.com/)
