semantra-python icon indicating copy to clipboard operation
semantra-python copied to clipboard

The address cannot be accessed

Open lhtiger opened this issue 3 years ago • 3 comments

hi:

The address cannot be accessed.


^Cuser@lsp-ws:~$ semantra /ark-contexts/data/hamlet.pdf hamlet.pdf: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 23.64it/s]

  • Serving Flask app 'semantra.semantra'
  • Debug mode: off WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Running on all addresses (0.0.0.0)
  • Running on http://127.0.0.1:8080
  • Running on http://172.29.60.49:8080 *

image

lhtiger avatar Apr 25 '23 14:04 lhtiger

http://127.0.0.1:8080 http://172.29.60.49:8080

lhtiger avatar Apr 25 '23 15:04 lhtiger

Hi! It might be that you are running Semantra inside an external server that your network cannot access. You may need to expose the port in the firewall on that network computer, or if it's on AWS or another cloud provider play with the virtual private cloud (VPC) settings to enable public access.

If none of that is possible, I would recommend running the tool on your local computer.

freedmand avatar Apr 25 '23 15:04 freedmand

thank!

lhtiger avatar Apr 28 '23 06:04 lhtiger