Nginx config for Seafile 7.1.5 on Debian 10 running Virtualmin control panel

I’m noticing that ./seafile.sh start opens port 8082 upon successful execution without me having to do anything.

I wonder where in the script that seafile does that?

However, I did modify seahub to try to run on port 8085. And even though I issued a ./seahub.sh start 8085 command, it does not open that port.

I wonder if anyone knows where in the seahub start script it tries to open port 8000/$port?

It could be somewhere in /seafile-server/seahub/thirdpart, possibly within the gunicorn code.

I ask because I’m not having much luck opening port 8085 with a nftables command, so trying to see if seahub will open port 8085 on its own.