# Starting node.js app

**URL:** <https://answers.netlify.com/t/starting-node-js-app/8394>\
**Category:** Support\
**Tags:** redirects, deployment\
**Created:** [February 4, 2020, 10:32am UTC](https://answers.netlify.com/t/starting-node-js-app/8394 "2020-02-04T10:32:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![crazydeveloepr09](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@crazydeveloepr09](https://answers.netlify.com/u/crazydeveloepr09)\
**Post date:** [February 4, 2020, 10:32am UTC](https://answers.netlify.com/t/starting-node-js-app/8394/1 "2020-02-04T10:32:28Z")

</div>

Hi,  
How can I start node.js app? On Heroku I just added in package.json start script… I am asking, because got “Page not found” error and think it is problem with starting. All good, deploy published. I added build command found, but still doesn’t work.

Greetings,  
Maciej Kuta

---

<div class="post-metadata">

**Author:** ![crazydeveloepr09](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@crazydeveloepr09](https://answers.netlify.com/u/crazydeveloepr09)\
**Post date:** [February 4, 2020, 4:12pm UTC](https://answers.netlify.com/t/starting-node-js-app/8394/2 "2020-02-04T16:12:35Z")

</div>

Seems that’s good now with build command, but it doesn’t end deploying version and still doesn’t work: [Deploy log](https://app.netlify.com/sites/silly-wiles-dbbbf9/deploys/5e396811688e90cbef9f09ad)

---

<div class="post-metadata">

**Author:** ![perry](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/perry/32/16_2.png) [@perry](https://answers.netlify.com/u/perry)\
**Post date:** [February 4, 2020, 4:40pm UTC](https://answers.netlify.com/t/starting-node-js-app/8394/3 "2020-02-04T16:40:23Z")

</div>

hey there, welcome.

So the problem definitely is that your build is taking too long - we have a max build time of 15 minutes for all applications that aren’t on our high performance build system (see [this page](https://www.netlify.com/pricing/), scroll down, unfold “high performance builds” for more info)

can you post your `package.json`? what kind of an application are you trying to build?

---

<div class="post-metadata">

**Author:** ![crazydeveloepr09](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@crazydeveloepr09](https://answers.netlify.com/u/crazydeveloepr09)\
**Post date:** [February 4, 2020, 5:31pm UTC](https://answers.netlify.com/t/starting-node-js-app/8394/4 "2020-02-04T17:31:52Z")

</div>

I’m trying to build an express application. Here is package.json

 ![Screenshot_20200204-183054](https://global.discourse-cdn.com/netlify/original/2X/1/1c6bf1c82a7af6221390d1e299554046a25ac4cb.jpeg)

---

<div class="post-metadata">

**Author:** ![perry](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/perry/32/16_2.png) [@perry](https://answers.netlify.com/u/perry)\
**Post date:** [February 4, 2020, 5:44pm UTC](https://answers.netlify.com/t/starting-node-js-app/8394/5 "2020-02-04T17:44:50Z")

</div>

ah! that explains it.

You cannot run express applications on Netlify - it is for modern static sites only.

Here is more information:

> [@Netlify refusing connection of Socket - Socket IO - Express Server on Netlify](https://answers.netlify.com/t/netlify-refusing-connection-of-socket-socket-io-express-server-on-netlify/1655):
>
> I have a Netlify App running on my Github Repository. When I first set the Netifly Account up the site deployed and Socket Connected. If I try to deploy the build again, I am receiving the error: GET http://localhost:8080/socket.io/?EIO=3&transport=polling&t=MkFZwZJ net::ERR\_CONNECTION\_REFUSED I have read many SO answers and tried different steps: Setting Port to 8080 Adding { transports: ["websocket"], upgrade: false } to my client connection Changing the Client connection from io("http://…

> [@\[Support Guide\] Can I run a web server, HTTP listener, and/or database at Netlify?](https://answers.netlify.com/t/common-issue-can-i-run-a-web-server-http-listener-and-or-database-at-netlify/3078):
>
> Last reviewed: July 2025 How do I run a server/database at Netlify? We often get questions about how to run a specific backend server or database at Netlify. Examples of these types of questions include: How to I get my node HTTP listener to respond to requests? How do I start Mongo/MySQL/\<insert-some-database-here\> running on the server? How can I SSH into my website? We are here today to answer these questions - and the answer is: you can’t! hushed_faceWhat do you mean, I cannot run a …

I hope this helps clarify!

---

<div class="post-metadata">

**Author:** ![crazydeveloepr09](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@crazydeveloepr09](https://answers.netlify.com/u/crazydeveloepr09)\
**Post date:** [February 4, 2020, 6:31pm UTC](https://answers.netlify.com/t/starting-node-js-app/8394/6 "2020-02-04T18:31:36Z")

</div>

So I added domain in heroku, then change the record A and CNAME to point to it… And this should work? SSL from here will stay?

---

<div class="post-metadata">

**Author:** ![luke](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/luke/32/39_2.png) [@luke](https://answers.netlify.com/u/luke)\
**Post date:** [February 5, 2020, 2:19am UTC](https://answers.netlify.com/t/starting-node-js-app/8394/7 "2020-02-05T02:19:17Z")

</div>

@crazydeveloepr09, the SSL certificate at Netlify only works for sites hosted on our service.

If you direct a domain name (including subdomains) to another hosting service (like Heroku - an awesome service in my opinion), then a different SSL certificate will need to be provisioned there. The SSL certificate at Netlify will not work anywhere else and cannot be exported from Netlify.
