All uberspaces come with default firewall settings, which do not allow incoming connections on ports other than 443 and 80. Some software like Wordpress, mailman or seafile can be exposed using php-fpm or web backends. Either way, you do not need to think about ports and firewalls.
If your software requires direct TCP or even UDP connections, like XMPP, ZNC or mosh, you need to open a port in the firewall.
If you plan to use web backends, you do not need to open a port for your application.
Each uberspace can open 20 ports. The port numbers are generated automatically in the range from 20.000 to 61.000 and cannot be chosen arbitrarily.
[eliza@doolittle ~]$ uberspace port add Port 40132 will be open for TCP and UDP traffic in a few minutes.
To get a list of currently open ports, execute the following command:
[eliza@doolittle ~]$ uberspace port list 40132 40133 40134
If you don’t need your port anymore, it’s a good idea to close it. You can do so using to following command:
[eliza@doolittle ~]$ uberspace port del 40132 Port 40132 will be closed in a few minutes.