lossless1024 / StreaMonitor

Adult live stream downloader for advanced people. I could have chosen a better name.
GNU General Public License v3.0
172 stars 42 forks source link

Access web interface outside of localhost #102

Open glottisfaun0000 opened 10 months ago

glottisfaun0000 commented 10 months ago

Accessing the 5000 port from another machine gives me empty html. Is this something on my end, a setting, or expected behavior?

DerBunteBall commented 10 months ago

I'm not absolutly sure but this could be because of this line in the HTTP Manager:

app.run(host='127.0.0.1', port=5000)

This bounds the HTTP Port to localhost. As long as you can connect this shouldn't be an IP based bounding. But it could lead to the empty HTML.

You could try to change the above to this:

app.run(port=5000)

This should bind port 5000 to all IPs of the host and eventually allows sending an response on all IPs.