# Config file not saving over - ERRNO 99

**URL:** <https://support.prodi.gy/t/config-file-not-saving-over-errno-99/6024>\
**Category:** Uncategorized\
**Created:** [October 13, 2022, 3:54pm UTC](https://support.prodi.gy/t/config-file-not-saving-over-errno-99/6024 "2022-10-13T15:54:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![WKamptner](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/wkamptner/32/3340_2.png) [@WKamptner](https://support.prodi.gy/u/WKamptner)\
**Post date:** [October 13, 2022, 3:54pm UTC](https://support.prodi.gy/t/config-file-not-saving-over-errno-99/6024/1 "2022-10-13T15:54:28Z")

</div>

Hello, I have an EC2 instance running the jupyter-prodigy extension. I recently had to stop and restart our instance to expand our RAM and now I am unable to redirect to the new ip address.

I receive this error:  
ERROR: [Errno 99] error while attempting to bind on address ('MY.OLD.IP.ADDRESS', 8080): cannot assign requested address  
where MY.OLD.IP.ADDRESS is my original redirected ipv4 host that I set up using the prodigy.json file.

HOWEVER, after restarting my instance, my old ipv4 has since dissipated and a new one was assigned to my EC2 instance which is all well and good, so I edited my prodiy.json file to point at the NEW "host" address. However, it doesn't seem to be working. The file is saved, I can see the config file with the NEW host in it, yet whenever I try to run prodigy, it's attempting to use the OLD ip address for the host.

Why is my config file not working? Is there a way to force the IP address?

Below is my prodigy.json  
GNU nano 6.2 prodigy.json  
{  
"host": "[ec2-MY-NEW-IP-ADDRESS.compute-1.amazonaws.com](http://ec2-MY-NEW-IP-ADDRESS.compute-1.amazonaws.com)",  
"total\_examples\_target": 200,  
"exclude\_by": "input"  
}

The same is set up in the Jupyter Lab extended settings for Prodigy. My changes are not saving and I am unable to get prodigy to run again

---

<div class="post-metadata">

**Author:** ![ryanwesslen](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ryanwesslen/32/2969_2.png) [@ryanwesslen](https://support.prodi.gy/u/ryanwesslen)\
**Post date:** [October 13, 2022, 8:34pm UTC](https://support.prodi.gy/t/config-file-not-saving-over-errno-99/6024/2 "2022-10-13T20:34:04Z")

</div>

Hi @WKamptner!

Thanks for your message and welcome to the Prodigy community 👋

I don't see any issues with your config file.

> [@WKamptner](#):
>
> The file is saved, I can see the config file with the NEW host in it, yet whenever I try to run prodigy, it's attempting to use the OLD ip address for the host.

However, it's very easy to sometimes have multiple config files or overrides and not realize it.

Have you tried to [manually override](https://prodi.gy/docs/install#config-overrides) the `"host"`?

> [@Specifying config file explicitly?](https://support.prodi.gy/t/specifying-config-file-explicitly/4233/2):
>
> Sorry I never replied to this when it was posted, but we just released Prodigy v1.11, which supports a PRODIGY\_CONFIG environment variable to specify an explicit config file. There's now also an environment variable that lets you overwrite individual config settings on the CLI: [https://prodi.gy/docs/install#config-overrides](https://prodi.gy/docs/install#config-overrides)

This can sometimes override whichever `prodigy.json` and be explicit on the changes. This should work as a short term.

Note, you can also provide your override as a prefix for your commands too:

```python
PRODIGY_CONFIG_OVERRIDES='{"host": "ec2-MY-..."}' python -m prodigy ...

```

You can also use these overrides to "reset" your config:

> [@PRODIGY\_CONFIG\_OVERRIDES: issue](https://support.prodi.gy/t/prodigy-config-overrides-issue/5307/2):
>
> Hi! Since you've used export, the environment variable has been set for the whole session, so one option would be to just set export PRODIGY\_CONFIG\_OVERRIDES="{}" to reset it to an empty dict. I'm not sure if this happened while copy-pasting or if this was the actual output, but based on the error message, it looks like you somehow ended up with typographic quotes, e.g. “ instead of "? So that's the first thing I would check. If you want to be extra sure, you can also run echo $PRODIGY\_CONFIG\_O…

Also, have you tried [Prodigy logging](https://prodi.gy/docs/install#debugging-logging)? Consider using it as `verbose` as it should give you reference of what `prodigy.json` you're loading, perhaps seeing where you're loading a config you weren't intending for.

Other users have reported ERRNO 99 issue because they had to restart/end and accidentally didn't realize something else was also running:

> [@\[Errno 99\] error while attempting to bind on address ('::1', 8080, 0, 0): cannot assign requested address](https://support.prodi.gy/t/errno-99-error-while-attempting-to-bind-on-address-1-8080-0-0-cannot-assign-requested-address/3110/2):
>
> Hi! This error typically measns that there's already something else running on localhost:8080 – maybe your Jupyter notebook, maybe an old Prodigy server, maybe something else. If you don't know what it is, you can try find it and kill the process ([see here](https://www.google.com/search?q=kill+process+localhost+site:stackoverflow.com) for how to do it, depending on your operating system). Alternatively, you can also run Prodigy on a different port that's free, by setting the environment variable PRODIGY\_PORT, for instance PRODIGY\_PORT=9000 (there's also a [magic command](https://stackoverflow.com/a/44251637/6400719) for…

> [@WKamptner](#):
>
> EC2 instance running the jupyter-prodigy extension

Just curious, can you run Prodigy w/o the `jupyter-prodigy` extension? I want to diagnose if the issue simply Prodigy or the extension.

Like the earlier post, one way to test is to try a different port. This can sometimes be an issue with `jupyter-prodigy` extension so that's why perhaps you could try a different port with only Prodigy run from a terminal.

Let me know if either of these help or if you're still having issues.
