Check if specific port is open via script?

adevezin
Giga Contributor

Is there a way to check if a port is open via a script? I just want to check if a custom port i have on my network is open via a workflow script.

1 ACCEPTED SOLUTION

Antony_Alldis
ServiceNow Employee
ServiceNow Employee
5 REPLIES 5

The one liner makes this better. Thank you for sharing!