overleaf / toolkit

GNU Affero General Public License v3.0
576 stars 138 forks source link

config/overleaf.rc asks for wrong IP address in the comment #197

Open F-Depi opened 11 months ago

F-Depi commented 11 months ago

During the set up of overleaf via tls, following tls-proxy.md

  1. bin/init --tls
  2. change variables.env as correctly described in the guide
  3. open the file overleaf.rc as described in the guide
  4. add you EXTERNAL IP address as asked in the comment in line 36
  5. save and run with bin/up

Expected Behaviour

Overleaf should go online and be accessible by other devices

Observed Behaviour

This error is prompted after a couple of seconds when the docker container fails to run

Error response from daemon: driver failed programming external connectivity on endpoint nginx (eec3ec8e41d00fcaeb22ce8034df504e427a9706f6076d9c7be99670067fd211): Error starting userland proxy: listen tcp4 EXTERNAL_IP:443: bind: cannot assign requested address

Where EXTERNAL_IP is my external IP address, the one added in the overleaf.rc file, lines 37 and 38.

Context

I fixed the error by putting my INTERNAL IP address instead, as it made more sense and it fixed the problem.

Technical Info

Analysis

Suggestion: in the overleaf.rc file, ask to replace the IP address in line 37 and 38 with the internal IP address of the host and not the external one.