Assigned Ports Command
You are only allowed to use the ports that are assigned to your service.
Your Ultra.cc service comes with a range of ports that are assigned to each of the applications available for installation via the User Control Panel. In this guide, we will show you the app-ports
command and how to use it.
- Login to your service via SSH.
Once you have successfully logged in to your Ultra.cc service, you can execute either of these commands:
-
app-ports show
– List all ports and the application it is assigned to. -
app-ports free
– List all free ports that are not currently used by any application. -
app-ports used
– List all ports that are currently in use.
Furthermore, custom applications can be assigned a port that you are currently not using. For example, any port that is listed when you execute app-ports free
can be used for a custom application of your choice.