# Strange Error: Connection refused on browser on Windowa10

**URL:** <https://forum.djangoproject.com/t/strange-error-connection-refused-on-browser-on-windowa10/21657>\
**Category:** Mystery Errors\
**Created:** [June 16, 2023, 2:35pm UTC](https://forum.djangoproject.com/t/strange-error-connection-refused-on-browser-on-windowa10/21657 "2023-06-16T14:35:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kanatbek-AKA](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kanatbek-aka/32/12281_2.png) [@Kanatbek-AKA](https://forum.djangoproject.com/u/Kanatbek-AKA)\
**Post date:** [June 16, 2023, 2:35pm UTC](https://forum.djangoproject.com/t/strange-error-connection-refused-on-browser-on-windowa10/21657/1 "2023-06-16T14:35:28Z")

</div>

Hi everyone,

First of all, don’t think that I have no ideas how to run django or install or even set settings.py of django projects. But I am abruptly encountering a strange error, running django on any port refused to connect on browsers installed on my Windows10. Although my wsl2 is mounted to Windows to access the wsl file directly from windows folder map and all enabled wsl services are visible on CMD with ports if you just check it with e.g. _netstat -ano -p tcp_.

It is a first time I have such issue since I build some internal webcheets with django, and by surfing on the internet I read that some people had same issue, but the solution for that no-where is provided.  
Characteristics:  
Django version 4.1.9  
WSL2- Ubuntu 22.0  
Python 3.10.6

I would like to know what might cause it suddenly to block django on browser when you were running it on your machine yesterday.

Thanks in advance.

Kind regards,  
Kanatbek

---

<div class="post-metadata">

**Author:** ![Kanatbek-AKA](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kanatbek-aka/32/12281_2.png) [@Kanatbek-AKA](https://forum.djangoproject.com/u/Kanatbek-AKA)\
**Post date:** [June 16, 2023, 8:16pm UTC](https://forum.djangoproject.com/t/strange-error-connection-refused-on-browser-on-windowa10/21657/2 "2023-06-16T20:16:05Z")

</div>

Hi all,

Thanks everyone.

It looks like the issue I described above is solved by itself. I do not know what was causing it, but after taking a bit break and checking the runserver indicated everything works as previously.

Kind regards,  
Kanatbek
