Description
Hi,
If we run our node server on port 8080, then the parse-server is unable to connect to this port.
It is still expecting the port 1337 and localhost.
serverURL: process.env.SERVER_URL || 'http://localhost:8080/parse', // Don't forget to change to https if needed
// Serve the Parse API on the /parse URL prefix
const mountPath = process.env.SERVER_URL || process.env.PARSE_MOUNT || 'http://localhost:8080/parse';
app.use(mountPath, api);
When I access any API endpoint, it is showing as like below.
{
"code": "ECONNREFUSED",
"errno": "ECONNREFUSED",
"syscall": "connect",
"address": "127.0.0.1",
"port": 1337
}
and also in console it is showing like,
WARNING, Unable to connect to 'http://localhost:8080/parse'. Cloud code and push notifications may be unavailable!
Please help me out! Thank you!