Thank you! I entered the command. This is the result.
tcp LISTEN 0 4096 0.0.0.0:21116 0.0.0.0:* users:(("docker-proxy",pid=2328,fd=7))
tcp LISTEN 0 4096 0.0.0.0:21117 0.0.0.0:* users:(("docker-proxy",pid=2360,fd=7))
tcp LISTEN 0 4096 0.0.0.0:21118 0.0.0.0:* users:(("docker-proxy",pid=2379,fd=7))
tcp LISTEN 0 4096 0.0.0.0:21119 0.0.0.0:* users:(("docker-proxy",pid=2395,fd=7))
tcp LISTEN 0 4096 0.0.0.0:21115 0.0.0.0:* users:(("docker-proxy",pid=2315,fd=7))
tcp LISTEN 0 1000 0.0.0.0:22 0.0.0.0:* users:(("dropbear",pid=388,fd=3))
tcp LISTEN 0 4096 0.0.0.0:80 0.0.0.0:* users:(("docker-proxy",pid=2275,fd=7))
tcp LISTEN 0 4096 0.0.0.0:81 0.0.0.0:* users:(("docker-proxy",pid=2289,fd=7))
tcp LISTEN 0 4096 0.0.0.0:443 0.0.0.0:* users:(("docker-proxy",pid=2300,fd=7))
tcp LISTEN 0 4096 [::]:21116 [::]:* users:(("docker-proxy",pid=2338,fd=7))
tcp LISTEN 0 4096 [::]:21117 [::]:* users:(("docker-proxy",pid=2369,fd=7))
tcp LISTEN 0 4096 [::]:21118 [::]:* users:(("docker-proxy",pid=2386,fd=7))
tcp LISTEN 0 4096 [::]:21119 [::]:* users:(("docker-proxy",pid=2402,fd=7))
tcp LISTEN 0 4096 [::]:21115 [::]:* users:(("docker-proxy",pid=2322,fd=7))
tcp LISTEN 0 1000 [::]:22 [::]:* users:(("dropbear",pid=388,fd=4))
tcp LISTEN 0 4096 [::]:80 [::]:* users:(("docker-proxy",pid=2280,fd=7))
tcp LISTEN 0 4096 [::]:81 [::]:* users:(("docker-proxy",pid=2294,fd=7))
tcp LISTEN 0 4096 [::]:443 [::]:* users:(("docker-proxy",pid=2308,fd=7))
I added the ports to the Docker Compose file afterwards and restarted the container. I was hoping it would apply the changes.
What I noticed is that there are no UDP ports listed — or is that a different command?