简体   繁体   中英

uploading my Socket.io and node.js application to a server

So i just finished up my Socket.io application (instant Messenger) and I usually build and use these applications in localhost. But for this I want to upload it to a server so others may use it! I'm just kind of confused on how i would get some stuff working, like connecting to my JS file using node.js on a server and such. I have a small shared server with GoDaddy i was planning to upload this to, so my question is it possible to upload my files to a shared server and have node.js running on my PC? Or am I looking like a complete fool and asking something that can not be easily done?

You need nodejs on your server so you can run your web service. You may want to consider signing up for AWS or any other cloud hosting service and launch your own virtual server running a nodejs stack, its free for one year.

Then you just need to upload your files to the server and run them using nodejs.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM