Access Prodigy from external computer

Dear All,

Really happy with Prodigy. Until now, due to our requirements, we had all annotators annotate locally. However now we try to setup a server such that multiple annotators can code on one instance.

We setup prodigy on Ubuntu 20.04, no other webservices are running.

A) python3 -m prodigy ner.manual etc………….

  1. We can access prodigy on localhost:8080

  2. We can access prodigy on 127.0.0.1:8080

We are not able to reach Prodigy from an external computer.

We added rules to the firewall:

  1. sudo ufw allow 8080

  2. sudo ufw allow 80 (just to be sure)

We are not able to reach Prodigy from an external computer.

For testing we just disable the entire firewall:

  1. sudo ufw disable

We are not able to reach Prodigy from an external computer.

6) For testing purposes we added an instance of fast api to the server

We are able to reach the api from an external computer.

We are not able to reach Prodigy from an external computer.

Are we forgetting something (simple)? Or anybody any ideas what on Ubuntu can cause this problem?

Kind regards,

MZoet

It might be helpful to also try hosting a general file server, mainly to check if this problem is related to Prodigy or your network settings.

So, just to check, can you create a file on your server called index.html with the following contents:

<p> this is a test, we hope it works </p>

Then, could you try serving this file via:

python -m http.server 8080

Since FastAPI worked, this should work too. But just as an extra check.

Logging

Just to check, could you run Prodigy with verbose mode turned on? Do you see anything strange in the logs when you try to connect?

An extra check

One thing I wonder, do you have a prodigy.json file around? Or any environmental variables that might affect deployment?

Thank you for your answer. Just test the HTML, and indeed it works. Today I will be working on something else but tomorrow i will delve into the rest of your feedback.

1 Like