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

Share what you’re buildingInteractive illustration
Your teammate’s machinelocalhost:8080Authenticated connecting CLI
Your development machinelocalhost:3000Published as test-api
Your teammate has a connect grant for test-api
On your teammate’s machine
$ curl -i http://localhost:8080/
Ready to try

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.

Your teammate’s terminal · test-api
$ curl http://localhost:8080/products
{
  "products": [
    { "id": 7, "name": "Gateway", "status": "ready" }
  ]
}
They can try your API while you continue developing it.Illustrative workflow and data. The service and its own authentication must already be configured.

Publishing a service doesn’t give everyone access.

Publish and connect are separate grants. Choose who can offer a named service and who can use it.

Tunnel permissions and setup →
Illustrative access policy
TeammatePublish test-apiConnect to test-api
Sam · API developerGrantedNot granted
Alex · frontend developerNot grantedGranted
Another memberNot grantedNot granted

An ordinary member needs an explicit connect grant. The application’s own login still applies.

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.

  1. Publish a local TCP service

    Give the running service a name in your organisation.

  2. Grant your teammate access

    An administrator grants connect permission for that name.

  3. Connect through localhost

    Their CLI opens a local listener for their usual client.

On the machine running your API
dataplicity tunnel publish test-api --port 3000
On your teammate’s machine
dataplicity 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.