Exposed API port as a configurable option to allow mocking.