Let your teammate use what’s running on your machine.
Your API, database or mock service can stay on your machine while a teammate connects from theirs. Publish a local TCP service by name, grant access and let them work with their usual tools.
Private CLI-to-CLI TCP · Paid plans
$ curl -i http://localhost:8080/The connecting CLI is listening locally. Send an example request to the service on the other machine.
Simulated connections and responses. No service is published from this page.
- Publish one local TCP service by name.
- Connect through localhost with your existing client.
- Available on paid plans with the Tunnels entitlement.
One person’s localhost. The whole team’s next step.
Give the next person a working service to connect to, while you keep building.
$ curl http://localhost:8080/products{
"products": [
{ "id": 7, "name": "Gateway", "status": "ready" }
]
}Publish here. Connect there. Get on with the work.
Install the CLI and sign in to the same organisation on both machines. Keep the publisher running.
Publish a local TCP service
Give the running service a name in your organisation.
Grant your teammate access
An administrator grants connect permission for that name.
Connect through localhost
Their CLI opens a local listener for their usual client.
dataplicity tunnel publish test-api --port 3000dataplicity tunnel connect test-api --local-port 8080
curl http://localhost:8080/The consumer’s local port can differ from the publisher’s port.
Follow the CLI setup guide →The details, when you need them.
Requirements, permissions and connection behaviour in one place.
Who can connect, and how sharing stops
The service name and its permissions belong to your organisation.
- Choose who can connect
- Both CLIs authenticate to the same organisation. An administrator controls publish, replace and connect permissions for each name and its permitted target ports. An ordinary member needs an explicit connect grant.
- Keep using the service’s own login
- The tunnel carries TCP traffic to the publisher’s loopback service. Your API, database or other application keeps its existing authentication and permissions.
- Stop when the work is done
- Ctrl+C stops publishing or closes the consumer listener and its streams. Transport loss ends existing TCP sessions; run connect again and let the application reconnect its sessions.
Platforms, plans and supported connections
Install the supported CLI on both machines, sign in and select the same organisation. Use --org ORG if you belong to more than one.
- Start with a local TCP service
- The publisher’s service must already listen on loopback. The consumer also listens on loopback, and its local port can differ from the publisher’s port. Keep the publishing command running.
- Check availability and permissions
- Development tunnels are available on paid plans with the Tunnels entitlement. Confirm the supported CLI platform, organisation entitlement and name grants before connecting. Setup, platforms and limits →
- Choose the right kind of connection
- This is private CLI-to-CLI TCP access. Use it for authorised development clients; a public webhook URL, UDP transport and general network routing require another approach.
Make your local service useful to someone else.
Choose a running service, install and authenticate the CLI on both machines, then publish your first private tunnel.