News CNCnetPDM About us Support  



In case you're going to connect to a remote device with an Ethernet network connection that uses a specific TCP-Port for communication you can use the utility CNCScan.exe to ensure that the device can be reached and responds.



After downloading extract its content into a folder of your choice. Right click CNCScan and select 'Run as administrator'. A dialog window opens with tab 'CNCScan | Scanner' (1) selected. To test if the remote device responds to queries on a specific port proceed as follows:

Usage of CNC Port Scanner

FIG 1:    Usage of utility CNC Port Scanner
  • Right of 'Host address' enter the IP Address of the device into the first field (start) (2). If you just test one device enter the same address into the field below (end). For one device you can also enter it's DNS-Hostname into these two fields. If you have more than one device you can enter a range of IP-Addresses here, e.g. (start) (end).
  • Right of 'Port' (3) you can select either 'list' or 'range'. If you want to test one port select list and enter the port into the field right of it (e.g. 8193 = Fanuc Focas Standard).
  • If you now click on 'Scan' (4) the program tries to contact the specified devices and get a reply from them, this may take some time depending on the number of devices. You can see the IP-Address and port of the device currently being scanned in the top bar of the program.
  • In case the connection was successful you see a green icon with 'Host' and 'Port' in the result list (5), otherwise nothing is shown -> check your device setup and possible firewall restrictions on your network. Under 'Description' you most likely see 'unknown' because a name of a service on the selected port is not known by your PC. You could change that by adding a service name to the text file %Systemroot%\System32\drivers\etc\services (Administrative privileges are required)

Tab 'CNCScan | Connect' can be used to test connectivity and exchange data with devices that use 'Windows Socket' communication.

  • Right to 'Host address' you can enter the IP Address of the remote device and the port number that should be used.
  • Clicking on 'Connect' tries to establish a connection.
  • You can enter a command into the field below 'Send' and click on button 'Send'.
  • If you get a reply you can see that in the field under 'Receive'.

Tab 'CNCScan | Services' shows the services, ports and protocols known by your PC, on newer MS Windows Operating Systems most likely you need to run the program 'as administrator' to see something.


Note: To use the CNC Port Scanner on Windows XP you have to copy the files mfc120.dll, msvcp120.dll, msvcp120d.dll, msvcr120.dll and msvcr120d.dll into the folder with CNCScan.exe.

Privacy notice

This website uses cookies. By continuing to use it you agree to our privacy policy.

Support | CNCnetPDM | Release Notes

Release Notes tell you what’s new in CNCnetPDM. As always, we welcome your feedback .... [read more]
Support | CNCnetPDM | Release Notes

Support | CNCnetPDM | Overview

Welcome to CNCnetPDM online support! Below you can find everything you need to install, setup, configure and troubleshoot CNCnetPDM. For program and device-specific support... [read more]
Support | CNCnetPDM | Overview

Support | CNCnetPDM | Quick Start Guide

Version If you don’t want to go through all the steps described in the user manual and you know what you’re doing simply follow the steps... [read more]
Support | CNCnetPDM | Quick Start Guide
Modified: 2023-11-28