# Gitea connection when trying to push to a repo

**URL:** <https://forum.gitea.com/t/gitea-connection-when-trying-to-push-to-a-repo/4785>\
**Category:** General\
**Created:** [February 26, 2022, 7:50am UTC](https://forum.gitea.com/t/gitea-connection-when-trying-to-push-to-a-repo/4785 "2022-02-26T07:50:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Indigo](https://avatars.discourse-cdn.com/v4/letter/i/dec6dc/32.png) [@Indigo](https://forum.gitea.com/u/Indigo)\
**Post date:** [February 26, 2022, 7:50am UTC](https://forum.gitea.com/t/gitea-connection-when-trying-to-push-to-a-repo/4785/1 "2022-02-26T07:50:04Z")

</div>

hello everyone,

when i create a repo in gitea, every time i try to push code to it i get an error saying i “Timed out”.

does anyone know whats wrong?

 ![issue](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/9/9113a56f9df05a9f9f0ba484a2087ea862121e2d.png)

thanks!

---

<div class="post-metadata">

**Author:** ![lunny](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/lunny/32/4701_2.png) [@lunny](https://forum.gitea.com/u/lunny)\
**Post date:** [February 26, 2022, 10:18am UTC](https://forum.gitea.com/t/gitea-connection-when-trying-to-push-to-a-repo/4785/2 "2022-02-26T10:18:09Z")

</div>

Could you visit the web interface of Gitea?

---

<div class="post-metadata">

**Author:** ![Indigo](https://avatars.discourse-cdn.com/v4/letter/i/dec6dc/32.png) [@Indigo](https://forum.gitea.com/u/Indigo)\
**Post date:** [February 26, 2022, 9:35pm UTC](https://forum.gitea.com/t/gitea-connection-when-trying-to-push-to-a-repo/4785/3 "2022-02-26T21:35:01Z")

</div>

yes i can visit that, is there anything i need to show in that?

---

<div class="post-metadata">

**Author:** ![realaravinth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/realaravinth/32/2033_2.png) [@realaravinth](https://forum.gitea.com/u/realaravinth)\
**Post date:** [February 27, 2022, 3:17pm UTC](https://forum.gitea.com/t/gitea-connection-when-trying-to-push-to-a-repo/4785/4 "2022-02-27T15:17:50Z")

</div>

When accessing Gitea web interface, do you add port to the URL? If yes, is the the same as one shown in the screenshot(3000)?

I’m guessing that the public URL that’s associated with Gitea is running at port(the usual ones: 80 and 443) that’s different from the one that’s mentioned in your configuration file.
