Installation and pre-deployment checks
This page describes how to prepare, install, and verify taosX manually on the target host. It does not describe automatic installation with the Apex installer. Check the installation package, dependencies, checklist items, and verification locations separately. Test ports from the host that actually initiates each connection. TCP connectivity proves only that a connection can be established, not that tasks and target data have passed verification.
Where to operate: PowerShell or Bash and the service manager on the deployment host; the TDengine TSDB Enterprise installation package and the standalone taosX-Agent installation package.
taosExplorer provides the graphical interface, taosX executes data tasks, taosd stores business data and task metadata, taosAdapter provides WebSocket/REST access, and taosKeeper collects monitoring data. When an agent is deployed, source reads, plugins, and source-side certificates are usually on the agent host, not the browser host.
1. Check software, accounts, and paths
| Check | Required before deployment |
|---|---|
| Version and distribution | Select an Enterprise distribution confirmed to support the required features and matching the platform and architecture, and record the actual version; use the same version for the agent and taosX; check connector dependencies separately against the Compatibility matrix |
| Host inventory | Actual locations of the management cluster, taosX, agent, source, target, monitoring cluster, and browser |
| Identities and authorization | Record the operating system service account, Xnode management identity, agent Token, source read account, and target write account separately |
| Plugins and runtimes | Provide matching plugins and dependencies on the actual collection host; switching to another Linux taosX host does not remove platform restrictions for PI, OPC DA, and similar connectors |
| Disk and permissions | Plan data, log, cache, raw-data retention, and backup directories by purpose; allow the service account to read and write as needed, and monitor available space |
| Clock and name resolution | Synchronize host clocks, ensure source and target names resolve from the actual execution environment, and match certificate names to access addresses |
Follow TDengine deployment and the distribution instructions for installation. Install the agent separately as described in Agent deployment and maintenance. When checking existing services, do not reinstall or start a second taosx serve in parallel.
2. Check ports by connection direction
The following table lists common defaults, not a firewall checklist for exposing everything to the public network. Use the actual deployment values after changing listeners, proxies, or TLS. Confirm source ports in the relevant connector guide.
| Initiator → receiver | Default port or range | Type and conditions |
|---|---|---|
| Browser → taosExplorer | TCP 6060 | Web interface, HTTP or the deployed HTTPS |
| taosExplorer → taosX | TCP 6050 | taosX HTTP API; allow only required management sources |
| Xnode management connection, agent → taosX | TCP 6055 | gRPC; every taosX expected to take over must be reachable |
| taosX/CLI → taosAdapter | TCP 6041 | Used when a WebSocket/WSS DSN is selected |
| Native client, management connection → taosd | TCP 6030 | Native connection; cross-node cluster deployments must also follow TDengine network requirements; this row is not a complete cluster port list |
| Reporters such as taosX → taosKeeper | TCP 6043 | Required when monitoring reporting is enabled; taosKeeper must also connect to its target taosAdapter |
| Agent-initiated management connection | Configurable range limited to 49152–65535; assigned by the system when not configured | Client source ports, not agent listening ports or the range for all data connections; stateful firewalls allow return traffic for established connections; do not map the entire range for public inbound access |
| Connector communication on the same collection host | Dynamic loopback ports | Some plugins use dynamic ports on 127.0.0.1 for IPC; do not expose these across hosts or replace them with fixed business ports |
The agent source port range is configured with [client_port_range]. See Agent-specific configuration for activation conditions and endpoint address restrictions. This does not cover the port requirements of all source protocols. For example, OPC DA DCOM network and identity requirements still need separate planning. When listeners are not explicitly configured, taosX may listen on all IPv4 and IPv6 interfaces. See Service listeners and threads for ways to restrict exposure.
3. Test from the correct host
Test from the host that actually initiates the connection. Check a known target first, then repeat for every connection used in Section 2. The following examples test the taosX gRPC endpoint from the taosX-Agent host. Replace taosx-host and the port with the approved actual values.
- Linux
- Windows
Run in Bash on the Linux agent host. The nc utility must be available:
nc -z -v -w 5 taosx-host 6055
-z probes the connection without sending business data, -v displays the result, and -w 5 sets the utility's maximum wait to 5 seconds. Check the success message and exit code. Investigate connection refusal, resolution failure, and timeout separately; do not interpret every nonzero exit code as a network timeout. If the utility is missing, install it under host management procedures or use an approved equivalent probe. Do not change business services directly.
Run in PowerShell on the Windows agent host:
Test-NetConnection -ComputerName 'taosx-host' -Port 6055
Check TcpTestSucceeded. True means this TCP connection was established successfully. If it is False, retain the resolved address, source address, and error details for investigation. Ask the system administrator for help if permissions are insufficient. Do not disable the firewall instead of checking its rules.
Test each required path separately from Explorer, the agent, the CLI, and the monitoring reporter. If TCP fails, check name resolution, service listeners, routing, and firewalls in that order. TCP success proves only connection establishment, not that TLS, the Token, source permissions, or data delivery are working.
4. Post-installation verification
Check the service on the actual taosX host using the steps for its platform, then check the version and actual configuration path against Configuration files. The examples below assume the installation package created a service named taosx. For a custom deployment, use the recorded actual service. Do not restart another service because its name looks similar.
- Linux
- Windows
systemctl status taosx --no-pager
systemctl show taosx -p User -p ExecStart -p ActiveState
Check active (running), the executable, and the identity. A system service usually runs as root when User is not configured. If the unit does not exist, check the installation and custom startup method first. A missing default service name does not mean the process is not running.
Get-Service -Name taosx
Get-CimInstance Win32_Service -Filter "Name='taosx'" |
Select-Object Name,State,StartName,PathName
Check Running, the actual service account, and the startup path. Checking only the version of another taosx.exe on PATH does not prove the service uses that file.
If permissions are insufficient, ask the service administrator to handle them. Do not temporarily make every directory writable by everyone. The commands above are read-only checks; they do not start or restart services.
First complete Xnode registration and maintenance and, if needed, Agent deployment and maintenance. Then choose Write the first record from Kafka, Collect the first point from OPC UA, or a known sample for the actual connector, and check the target table, timestamp, value, and tags. Finally, check that monitoring still receives new samples and that log and disk paths match the plan. Deployment verification is complete only after all these steps pass.
4.1 Log in to taosExplorer and open Data In
- Obtain the actual taosExplorer browser address from the deployment administrator. The default HTTP port is
6060, for examplehttp://taosexplorer-host:6060. Use the actual address if HTTPS, a reverse proxy, or a custom port is enabled.taosexplorer-hostis a placeholder hostname; do not copy it literally. - Open the login page and log in with an authorized TDengine account in the target cluster. Only in an isolated test environment where the default password has not been changed is the username
rootand passwordtaosdata. If the password has changed or this is a production environment, use the identity provided by the administrator. Do not change an account to fit the example. - After logging in, open Data In and click Create New Task. If the entry or target database is missing, check the connected cluster, version, and account permissions first. Check Xnode online status as described in Xnode registration and maintenance.
4.2 Checklist before creating a business task
- Cluster, taosX, and taosExplorer versions and service instances have been checked, and the target Xnode is online.
- Direct or agent mode has been selected; in direct mode, the actual taosX host has network access and a valid identity for the source.
- In agent mode, connections from the agent to every required taosX and the source have been checked, and the wizard reports the agent as normal.
- Source plugins, runtimes, certificates, and required files are readable by the actual collection identity.
- The target database, test objects, and approved table-creation/write scope are available, with suitable time precision and retention.
- An independently verifiable source sample and target verification query are ready; online status has not been used as a substitute for data verification.