title: Application 'appname' failed to start (port 8080 not available) on open shift node app
body: <p>I have written a node restify server in coffee and I can't seem to get it running.</p>
  
  <p>While deploying I get the following error:</p>
  
  <blockquote>
    <p>Waiting for application port (8080) become available ...</p>
  </blockquote>
  
  <p>after which I do get the following error</p>
  
  <blockquote>
    <p>Application 'appname' failed to start (port 8080 not available)</p>
  </blockquote>
  
  <p>If coffeescript seems to be the problem is there a work around it. I would not want to change back to js. </p>
  
  <p>My server code is:</p>
  
  <pre><code>restify = require 'restify'
  Bunyan = require 'bunyan'
  
  server = restify.createServer
      name: 'APPNAME'
      version: '0.0.1'
      log: Bunyan.createLogger
          name: 'api'
          serializers: 
              req: ()-&gt;
                  return "bad"
  
  # Usercontroller.access calls a function to process the request
  server.post '/user/access', UserController.access
  
  server = create.createServer()
  server.listen server_port, -&gt;
      console.log "Http server listening on #{server_port}"
      require('./document')(server.router.mounts, 'restify')
      return
  </code></pre>