Some content on this site is available only to logged-in subscribers. Contact Us for information on becoming a subscriber.

InSource.Solutions | InSource Training | InSource Client Portal
InSource Solutions Logo
Log In Sign Up
InSource.Solutions InSource Training InSource Client Portal Log In Sign Up
  • Home
  • AVEVA Communication Drivers
  • AVEVA Communication Drivers Tech Notes

TN DA127 Using PortQry to Diagnose PLC Port Status

Last updated: March 19th, 2025

Description

  • Author: Brian Schneider
  • Published: March 19th, 2025

Details:

Description

This article covers how to use the PortQry tool to troubleshoot the status of a PLC port.

  • Author: Daniel London
  • Published: 06/10/2015
  • Applies to: PortQry (All Versions)

Details

When unable to communicate with a PLC, you can use PortQry to check and see if the port is open to the device.

Download PortQry Here:

http://www.microsoft.com/en-us/download/details.aspx?id=17148

  1. Run the installer to download the software.
  2. Extract the files to the C (root drive) of your hard drive.
  3. Once downloaded open Command Prompt.

In Command Prompt type the following to access Portqry: CD C:\PORTQRYV2

Next type the following command line to access the port you are querying:

PORTQRY -N <IP OF PLC> -E <PORT NUMBER>

Common PLC Ports:

DAS SI Direct: 102

DAS MBTCP: 502

DAS ABTCP: 2221, 2222, 2223

DAS ABCIP: 44818

The reply will be:

  • LISTENING: Indicates the PLC is listening on the port number specified.
  • NOT LISTENING: Indicates PortQry reached the PLC but the PLC is not listening on the port number specified. Check the PLC configuration. Also make sure the correct port is being queried.
  • FILTERED: Indicates PortQry did not receive a response from the target port and the target port is being filtered. A firewall may be blocking the port. Check hardware and/or software firewall configuration.

 

portqry plc port
Give feedback about this article

Recommended articles

Connecting to RSLinx with FSGateway

Read More

DAServer is missing in the DAServer Manager after installation or changing account password.

Read More

How to monitor a PLC Connection from Kepserver using Wonderware Intouch

Read More

TN DA101 FSGateway: Failed to create OPCEnum error

Read More
Support Icon

CONTACT SUPPORT

How to reach us

10800 Midlothian Turnpike Tpke, Suite 209, Richmond, VA 23235

1.877.INSOURCE

Technical Support - 1.888.691.3858

Contact Us

  • InSource Solutions
  • InSource Training
  • InSource Client Portal
  • Log In
InSource Solutions Logo

© 2025 InSource Solutions. All Rights Reserved.

Knowledge Base Software powered by Helpjuice

Expand