Spanish Total.js
English
Documentation For AI agents
Contents

Carry a port to your computer

A port of your computer can lead to a database or a service behind a server, so the tools on your computer use it as if it were here.

.md GitHub
On this page

Add a port

  1. Open the form of the server and go to Ports carried.
  2. Press Port and fill in the row.
  3. Press Save and connect.
FieldWhat to writeExample
Port hereThe port of your computer, any that is free5433
Host thereThe host as the server sees it. localhost is the server itselflocalhost
Port thereThe port of the service5432

With this example, connect your database client to localhost, port 5433.

You can add several ports. To remove one, press the bin of its row and save.

When it works

The port is carried while a terminal on the server is open. Under the terminal, a line for each port says carried while this terminal is open, or why it is not. The cross hides the lines, and the ports go on.

Only your own computer can use the port: it is not open to your network.

The first terminal on the server carries the ports. A second one says that they are taken. If you close the first, the ports close too: press Connect again in a terminal that has ended, or open another tab, to carry them once more.

A Docker container

Write the name of the container in Host there and the port inside it in Port there. If the server does not know that name, TotalSSH asks Docker on it where the container is, each time it connects.

For this, the user you sign in with must be able to use Docker there, directly or with sudo without a password.

If a port is not carried

MessageWhat to do
The port … of this computer is taken, or may not be usedChoose another number in Port here
The SSH server could not reach …Check the host and the port, as they are seen from the server
The SSH server does not allow tunnelsAsk whoever runs the server to allow them, with AllowTcpForwarding

The terminal opens even when a port is not carried.

Made in Europe