Installing PgAdmin4 on Ubuntu using specific port 5050

Source: Install PgAdmin4 on Ubuntu

Option: Installing PgAdmin4 with Apache2

https://computingforgeeks.com/how-to-install-pgadmin-4-on-ubuntu/