mtserver-cli
Publishing can be one command
mtserver-cli is a terminal program for publishing a service. It accepts a server name, listening port, and protocol on the command line. Add the optional --command argument when you also want it to start and supervise the service process.
The following command starts a web server for your Pictures folder and shares it with family and friends. Your photos stay on your computer behind your firewall, and only the people you authorize can view them.
Run unattendedUse --start to publish immediately. Credentials can come from secure storage or environment variables, and logging can be directed to a file.
Publish more than one serviceRun one instance per service, each with its own name and listening port. A single computer can publish as many independent services as it needs.
Start automatically at system bootLinux, Windows, and macOS can be configured to run a command such as mtserver-cli automatically at system startup, so published services come back online after a restart.
Prefer a GUI?The MTCode Server desktop program provides the same third-party TCP-service publishing role with forms for the service, protocol, port, and launch command.