F
factoryEdge AI MACHINE MONITOR

How to Find, Test, and Fix an MTConnect Connection

A step-by-step checklist to locate an MTConnect endpoint, prove it answers, confirm the data is usable, and troubleshoot the problems that stop most connections.

By Ryan Lenhart · Updated

Most MTConnect problems are not software problems. They are an address typed wrong, a firewall in the way, or an adapter that stopped talking to the machine. A browser and ten minutes can tell you which.

Work through these steps in order on the same PC that will run your monitoring software.

Key takeaway

Test from the monitoring PC, not your laptop. "It works from my desk" means nothing if the shop-floor PC is on a different network.

Step 1: Find the endpoint

An MTConnect endpoint has three parts:

PartExampleWhere to find it
IP address192.168.10.41Control network settings, agent PC, IT records
Port5000Agent configuration (5000 is the common default)
Pathempty, or a device nameAgent configuration — often blank

Places to look, in order:

  1. Documentation from earlier projects — monitoring trials, MES pilots, or integrators.
  2. The control — network settings and MTConnect option screens often show the port.
  3. Your machine dealer — they may have enabled MTConnect at installation.
  4. An agent PC or gateway — one agent may serve several machines from one address.
  5. A network scan — FEAI's read-only Scan LAN probes common ports for MTConnect responses. It will not find agents on other subnets, non-standard ports, or behind firewalls.

Common ports besides 5000 include 5001, 5002, and other values set by integrators. If you are guessing, try 5000 first.

Step 2: Test reachability

Open a browser on the monitoring PC and go to:

http://<ip>:<port>/current

ResultMeaningNext step
XML appearsThe agent is reachableGo to Step 3
Page times outWrong IP, different network, or firewallCheck IP, network, and firewall
Connection refusedRight machine, nothing listening on that portCheck port and that the agent is running
Error page from another serviceWrong portTry other ports

You can also use the command line: ping <ip> checks basic reachability (some networks block ping), and curl http://<ip>:<port>/current returns the XML in a terminal.

Step 3: Check the device description

Open http://<ip>:<port>/probe. You should see one or more Device elements, each with components and DataItem entries. Look for these types:

If one agent serves several machines, note each device's name — you will select it when connecting.

Step 4: Confirm live values

Back in /current, check that the important items have real values, not UNAVAILABLE. Then run a cycle (or watch one) and refresh:

If values change, the connection is good and ready for monitoring.

Step 5: Connect your monitoring software

In FEAI Machine Monitor, open the CONNECT tab, enter the IP, port, and path (or pick a Scan LAN result), select the device, and confirm data arrives. Built-in diagnostics confirm reachability and show which data items the agent publishes.

Troubleshooting common MTConnect problems

The page times out

Connection refused

Availability is UNAVAILABLE

Execution or PartCount missing from /probe

PartCount never changes

Data stops after a while

History has gaps

Works from one PC but not another

When to call for help

If the agent and adapter were installed by a dealer or integrator, they are the fastest fix for adapter mapping and control-side settings. For network routing and firewall rules, involve your IT provider. FEAI Machine Monitor reads data. It does not configure controls, agents, or adapters.

Compatibility note. FEAI Machine Monitor reads supported CNC machine data through an accessible MTConnect Agent or compatible endpoint. Some machines require an adapter or machine-side configuration before monitoring is possible. Scan LAN does not find every machine.

Endpoint answering? Start free — 2 machines and watch the timeline fill in.

FAQ

How do I find my MTConnect endpoint?

Check previous project documentation, the control's network or option settings, your dealer, or an agent PC on the network. Then test candidate addresses with http://ip:port/current in a browser. Port 5000 is the most common default.

How do I test an MTConnect connection?

From the PC that will run monitoring, open http://ip:port/probe and http://ip:port/current in a browser. Both should return XML. Then run a cycle and refresh current to see values change.

Why does my MTConnect agent show UNAVAILABLE?

Usually the agent is running but its adapter is not connected to the machine, or the machine is powered off. Check the adapter service and its connection to the control.

Why is my MTConnect connection timing out?

Wrong IP, the agent is not running, the PC and machine are on different networks, or a firewall is blocking the port.

Can I test MTConnect without monitoring software?

Yes. A web browser is enough for basic tests, and command-line tools like curl work too.

Does FEAI help diagnose connections?

Yes. FEAI Machine Monitor includes connection diagnostics and a read-only Scan LAN tool to help locate and check MTConnect endpoints.