> For the complete documentation index, see [llms.txt](https://docs.wproofreader.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wproofreader.com/v6.11.0/troubleshooting/server-side-backend/application-doesnt-start-on-windows-and-iis-returns-502.3.md).

# Application doesn't start on Windows and IIS returns 502.3

### Problem

On Windows in some environments, WProofreader Application Server may fail to start in versions from `v5.38.0` to `v6.11.0`.

{% hint style="success" %}
Fixed in `v6.11.1`.
{% endhint %}

{% hint style="warning" %}
Affects Windows installations only.
{% endhint %}

### Symptoms

You may see one or more of these symptoms:

1. WProofreader Application Server doesn't start.
2. Requests routed through IIS return `502.3 Bad Gateway` because IIS can't reach the application server.
3. `Main.log` contains repeated entries like this:

```
Error    Control process failed to connect to main service process. Reason: Client exception. Connection refused. Check logs and ensure sufficient resources allocated.
```

### Solution

#### Recommended

Upgrade to `v6.11.1` or later.

To request an upgrade package, contact <support@webspellchecker.net>.

#### Workaround

Set the `AWS_EC2_METADATA_DISABLED=true` environment variable and restart the application.

Use this workaround only if you can't upgrade immediately.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.wproofreader.com/v6.11.0/troubleshooting/server-side-backend/application-doesnt-start-on-windows-and-iis-returns-502.3.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
