Wellenline / auddly-server

Simple self-hosted music streaming server
https://auddly.app
MIT License
301 stars 13 forks source link

Server not accessible when port is not exposed on internet #32

Closed jakoblover closed 4 years ago

jakoblover commented 4 years ago

The container waveline-api crashes when I try to connect the webapp to localhost:5000. This also happens if I put the waveline server behind a reverse proxy and try to reach it from the waveline web app on waveline.app

MihkelBaranov commented 4 years ago

Can you share some logs from the server crash?

Also can you access http://localhost:5000/system/info?

jakoblover commented 4 years ago

For reference if other struggle with this, after talking to Mihkel, the API is completely independent, and the web players access the API from the outside. So you cannot connect to localhost:5000 in the web player if your iptables block this port.

I just set up another reverse proxy for the API, and it's working great now.