# Could not read from remote repository

**URL:** <https://discuss.bitrise.io/t/could-not-read-from-remote-repository/22152>\
**Category:** Question & Answer\
**Tags:** step, build-config\
**Created:** [February 6, 2023, 8:35am UTC](https://discuss.bitrise.io/t/could-not-read-from-remote-repository/22152 "2023-02-06T08:35:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![syanchenko](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@syanchenko](https://discuss.bitrise.io/u/syanchenko)\
**Post date:** [February 6, 2023, 8:35am UTC](https://discuss.bitrise.io/t/could-not-read-from-remote-repository/22152/1 "2023-02-06T08:35:22Z")

</div>

Hello,

I set up an integration with my self-hosted gitlab, but when I created a new app in the Configuration Application step, I ran into the problem “ssh: connect to host xxxx.xxxx.xxxx, port 22: connection timed out”.

fatal: Failed to read from remote repository. "

I know what the problem is - my gitlab ssh://git@xxxxx.xxxx.xxxxxx:2222 repo is using port 2222, it needs port 22 in the configuration step.

How can I change the port to 2222 in settings?
