Ports for GroupShare REST API

Do all GroupShare installations always use port 41234 for GroupShare API and port 41235 for TM API?

Or can GroupShare administrators configure them with different port values?