How to enable node.js server on my website?

Hey I am new to netlifly and I want to create my own chat server with node js and socket io. I found this respository on github.
I have uploaded the folder to the website to test whether it works.
But there are some problems:

And do I have to change the localhost:3000 to the domain address?

Thanks in advance :smile:

You can’t keep a live server running on Netlify is that’s what the code is trying to do.

The repo that you’ve linked to however, is not expected to work as correctly pointed out by the Console error. io is not defined. That’s a problem with the code.