# How to expand default distance limit

**URL:** https://ask.openrouteservice.org/t/how-to-expand-default-distance-limit/906
**Category:** directions
**Created:** [September 3, 2019, 9:53am UTC](https://ask.openrouteservice.org/t/how-to-expand-default-distance-limit/906 "2019-09-03T09:53:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![vlavorini](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/v/d6d6ee/32.png) [@vlavorini](https://ask.openrouteservice.org/u/vlavorini)
#### Post date: [September 3, 2019, 9:53am UTC](https://ask.openrouteservice.org/t/how-to-expand-default-distance-limit/906/1 "2019-09-03T09:53:06Z")

</div>

Hi!

While playing with the service, I get this error:

```
'Request parameters exceed the server configuration limits. The approximated route distance must not be greater than 100000.0 meters'

```

I tried to change the `docker/conf/app.config.sample` file, basically everything was 100000 to 200000, and restarted the docker image. But no effect.

What should I do? Apart from taking a crash course on Docker…

---

<div class="post-metadata">

### Author: ![vlavorini](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/v/d6d6ee/32.png) [@vlavorini](https://ask.openrouteservice.org/u/vlavorini)
#### Post date: [September 3, 2019, 10:31am UTC](https://ask.openrouteservice.org/t/how-to-expand-default-distance-limit/906/2 "2019-09-03T10:31:28Z")

</div>

Nevermind, just had to rebuild Docker container:

`docker-compose up -d --build`
