YunoHost-Apps / couchdb_ynh

Couchdb package for YunoHost
https://couchdb.apache.org/
Apache License 2.0
4 stars 1 forks source link

“Port 5984 is not reachable from outside.” #18

Closed xplosionmind closed 1 year ago

xplosionmind commented 2 years ago

Describe the bug

Even though all ports are enabled on my server, I get the following error:

Screenshot 2022-02-21 at 6 42 03 PM


Context


Steps to reproduce

  1. sudo yunohost app install couchdb
  2. Running the YunoHost diagnosis
  3. Getting Port 5984 is not reachable from outside.


Expected behavior

Port 5984 should be working and exposed


Logs

Log

tituspijean commented 2 years ago

Mmmh, I am not sure this port should be publicly accessible.

Culprit line: https://github.com/YunoHost-Apps/couchdb_ynh/blob/7383f47de49254813e3c03b4a11d870bf24b94c5/scripts/install#L129

What do you think, @eauchat?

eauchat commented 2 years ago

Mmmh well indeed, it's true that there shouldn't be any necessity to have the port accessible from the outside, since nginx is actually directing outside's traffic for the app to port 5984. I think the code has already been corrected by a PR of @ericgaspar.

yalh76 commented 1 year ago

Port 5984is not available from outside, it's proxyed by nginx