# Localhost refused to connect

**URL:** <https://support.prodi.gy/t/localhost-refused-to-connect/5134>\
**Category:** Uncategorized\
**Tags:** usage, google-cloud, server\
**Created:** [December 29, 2021, 2:02am UTC](https://support.prodi.gy/t/localhost-refused-to-connect/5134 "2021-12-29T02:02:55Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![ljvmiranda921](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ljvmiranda921/32/3197_2.png) [@ljvmiranda921](https://support.prodi.gy/u/ljvmiranda921)\
**Post date:** [January 3, 2022, 1:58am UTC](https://support.prodi.gy/t/localhost-refused-to-connect/5134/5 "2022-01-03T01:58:22Z")

</div>

> [@Joshmantova](#):
>
> Also, in the Jupyterlab extension, it seems to not be reflecting the host and port I specify in the settings. Regardless of the host I specify, it tells me that it can't connect to localhost.

Hi @Joshmantova , to configure the Jupyterlab Prodigy extension, (in Jupyterlab) head to "Settings" \> "Advanced Settings Editor" \> "Prodigy Jupyter Extension" then update the `prodigyConfig` with the URL you're checking. It might also be better if you enable HTTP (or HTTPS) traffic in your Google Cloud VM (or the VM where the Vertex AI notebook runs).

> [@Joshmantova](#):
>
> When I try to specify that within prodigy.json or the env var PRODIGY\_HOST, I enter "0.0.0.0" and it tries to run the server on "0.0.0.0":80 - which obviously isn't right.

Not sure what you meant by this. Where do you see that `"0.0.0.0":80` is being run? For reference, my `prodigy.json` config shows this:

```python
{
"port": 8080,
"host": "0.0.0.0"
}

```

Perhaps `PRODIGY_HOST=0.0.0.0` should do the trick so that it won't parse the quotation marks 🤔

---

_[View the full topic](https://support.prodi.gy/t/localhost-refused-to-connect/5134)._
