Is there a way to set a static port for a Capacitor project?

Workaround here: