Closed singhpratyush closed 8 years ago
Set host to 0.0.0.0 for test on other devices.
Can you please elaborate this change. If the host is set to 0.0.0.0 , how can one access the running server locally (which url) ? postgres runs on 127.0.0.1:5432 so won't specifying postgres host as 0.0.0.0 have problems ?
Can you please elaborate this change. If the host is set to 0.0.0.0 , how can one access the running server locally (which url) ?
Suppose your laptop has an IP 192.168.43.115
and your phone is also in the same network. In this case, you can simply go to 192.168.43.115:5000/
on your phone to get to home page which will be served from your laptop.
postgres runs on 127.0.0.1:5432
PostgreSQL listens on port 5432
(if default is not changed), so you can access the database from any machine in case you are running the server on other device which doesn't has the database but has the server code.
/api/v1/d
doesn't writes album art unless specified incover
parameter.0.0.0.0
for test on other devices.IN
.