Can I run more than one rest-server in same machine?

run diffrent rest-server in diffrent port in same machine, It’s possible ?

/usr/bin/rest-server --listen 0.0.0.0:8001 --path /aaa --htpasswd-file /root/rest-server/.htpasswd-aaa --private-repos --append-only

/usr/bin/rest-server --listen 0.0.0.0:8002 --path /bbb --htpasswd-file /root/rest-server/.htpasswd-bbb

This is just an example code, actually connect to different cloud storage.

Sure that would work. Why shouldn’t it?