Which Ports to use?
Before you start, make sure you know how to SSH to the server. Learn about that here.
If you want to run an app on the server, it is useful sometimes to bind your application to a port. On Code, the ports 8080-10000/tcp
are open through the firewall.
There is a chance that someone might be using one of those ports. An easy way to check for available ports is to run this command: netstat -lant
. The options lant
for netstat
refer to tcp
ports that are currently in use by other applications.

In 8080-10000
show up in the output of netstat. So, in this instance, any port in that range is safe to use.