# First time to install local by flywheel on windows 10 pro

**URL:** <https://community.localwp.com/t/first-time-to-install-local-by-flywheel-on-windows-10-pro/43350>\
**Category:** WordPress Questions\
**Tags:** windows-10\
**Created:** [June 18, 2024, 2:49pm UTC](https://community.localwp.com/t/first-time-to-install-local-by-flywheel-on-windows-10-pro/43350 "2024-06-18T14:49:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vin](https://avatars.discourse-cdn.com/v4/letter/v/a87d85/32.png) [@vin](https://community.localwp.com/u/vin)\
**Post date:** [June 18, 2024, 2:49pm UTC](https://community.localwp.com/t/first-time-to-install-local-by-flywheel-on-windows-10-pro/43350/1 "2024-06-18T14:49:34Z")

</div>

Hello!

This is my first time to install local by flywheel.  
I created a site called “restart”, my problem is whenever i click on either WP Admin or open site i keep on getting the error: 502 Bad Gateway and i have no idea how to fix it.

 ![Screenshot (19)](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/4/1/41003e54fab0431b626c0367d14a3b1281c5abc5.png)  
 ![Screenshot (20)](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/f/a/fa1cc488d8f63f093abb84cbb36aa79cc0894c0b.png)  
pls help!

---

<div class="post-metadata">

**Author:** ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)\
**Post date:** [June 18, 2024, 5:46pm UTC](https://community.localwp.com/t/first-time-to-install-local-by-flywheel-on-windows-10-pro/43350/2 "2024-06-18T17:46:30Z")

</div>

Hey @vin –

Can you try setting the “Router Mode” setting in “Preferences \> Advanced” to “localhost”?

This should bypass the nginx proxy.

If there are still issues, can provide the Local Logs? You can get a zip of those logs by clicking the “Download Local Log” button from the “Support” tab of Local. See this help doc for more information:

> **[Retrieve Local’s Log File](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/)**
>
> A big part of troubleshooting errors, on any website or application, is the log file. This file contains a record of actions or errors that have occurred when a process is done. When reaching out for…
