Website won't start

Error 502 - Bad Gateway .error_content { background: rgba(255, 255, 255, 0.23); padding: 10px; width: 641px; margin: 25px 0; display: none; }
#error-msg {
    display: block;

Error 502 - Bad Gateway

Please click here to try again, if the issue persists please contact support

  <a href="">Status Page</a> |
  <a href="">Support</a> |
  <a href="">Dashboard</a> |
  <a href="">Home</a>


Please make sure you’re running your application server through IP and port 8080. This is required to run servers on Cloud9; if you need additional ports, 8081 and 8082 also work, but will require you to specify the port number in the preview URL.


Hi Bryce

The course I am following instructs me to use this in my nodejs app:

app.listen(process.env.PORT, process.env.IP, function(){
console.log(“Server is running…”);

It was working fine. Why would it suddenly stop working?
How can I use the format above to supply an IP of and a port of 8080?
Is this actually the problem?