Trying to access the Web APIs returns HTTP 502 Bad Gateway

This error signifies that the Web APIs were able to start but they ended abruptly.