question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Website not reachable

See original GitHub issue

When I tried to start the server in gcp instance with the command docker-compose -f docker-compose.prod.yml up

in the terimal it is showing (attaching only last few lines of log)

backend_1   | DETAIL:  Key (name)=(annotation_approver) already exists.
backend_1   | "
backend_1   | User admin already exists.
backend_1   | Starting django
backend_1   | [2020-02-19 06:09:35 +0000] [30] [INFO] Starting gunicorn 19.9.0
backend_1   | [2020-02-19 06:09:35 +0000] [30] [INFO] Listening at: http://0.0.0.0:8000 (30)
backend_1   | [2020-02-19 06:09:35 +0000] [30] [INFO] Using worker: sync
backend_1   | [2020-02-19 06:09:35 +0000] [33] [INFO] Booting worker with pid: 33

But when I am trying to open the website with my ip address it is showing

This site can’t be reached xx.xxx.xx.xxx (IP address of instance)
refused to connect.

Your Environment

  • Operating System: Ubuntu 18.04
  • Python Version Used: 3.6
  • When you install doccano: 18th February 2020
  • How did you install doccano (Heroku button etc): git clone and docker-compose

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Hironsancommented, Feb 19, 2020

Change this line in docker-compose.prod.yml:

https://github.com/doccano/doccano/blob/7833c1ef12ed7a777d392a3f657269889fe15ef4/docker-compose.prod.yml#L33

If you want to change the port from 80 to 8080, change the line 8080:80. I could access the application in GCP.

image

0reactions
sharmila-polamuricommented, Feb 20, 2020

Change this line in docker-compose.prod.yml:

https://github.com/doccano/doccano/blob/7833c1ef12ed7a777d392a3f657269889fe15ef4/docker-compose.prod.yml#L33

If you want to change the port from 80 to 8080, change the line 8080:80. I could access the application in GCP.

image

Yeah It’s working by changing the port there. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the "This Site Can't Be Reached" Error (5 Ways)
Restart your internet connection. Disable your firewall and antivirus. Clear your browser cache. Flush your DNS cache. Change your DNS servers.
Read more >
How to Fix This Site Can't Be Reached ... - Net-Informations.Com
This site can't be reached Error · Clear browser cache, history and cookies · Reset Chrome browser settings · Reset Wi-Fi Modem ·...
Read more >
How to Fix “This Site Can't Be Reached ...
How to Fix “This Site Can't Be Reached” If All Devices Are Affected · Restart · Check Your Cables and Connections · Factory...
Read more >
Website Not Reachable Error - DNS Knowledge
The error message “website not reachable” means lots of things. Some can be controlled from your end others can be only controlled by ......
Read more >
URL unreachable errors - Search Console Help
This can happen when Googlebot encounters a time-out or other network related issue when requesting a file from your site, and thus is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found