-
Hey 👋 I would like to know if it is possible to use portr and start multiple tunnel on different port at the same time and on the same account ? For example, sometimes i need to start tunnel on port 3000 for the front and on port 5555 for database with prisma studio 🚀 Have a good day 👋 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, it is possible by adding them as services in the portr config file portr config edit This should open your default config file. Then add your required ports as services server_url: example.com
ssh_url: example.com:2222
secret_key: <secret-key>
tunnels:
- name: frontend
subdomain: my-frontend
port: 3000
- name: prisma-studio
subdomain: my-prisma-studio
port: 5555 This assumes both the services are HTTP. If you want to run TCP, add TCP type at the end subdomain: my-prisma-studio
port: 5555
type: tcp Then start both services using |
Beta Was this translation helpful? Give feedback.
Yes, it is possible by adding them as services in the portr config file
This should open your default config file. Then add your required ports as services
This assumes both the services are HTTP. If you want to run TCP, add TCP type at the end
Then start both services using
portr start frontend prisma-studio