quataofr Posted January 27, 2021 Share Posted January 27, 2021 (edited) User name: quataofrDomain: quataofr.heliohost.orgServer: TommyI try to create a nodejs application with tutorial in wiki.helionet.org/tutorials/node.jsBut when I access quataofr.heliohost.org/node/ , It show 404 error.I try to rename my .htacess file but nothing is change. Edited January 27, 2021 by quataofr Link to comment Share on other sites More sharing options...
Luigi123 Posted January 27, 2021 Share Posted January 27, 2021 Our root admin Krydos only knows how to deal things about node. Let’s see if he knows this. Escalating Link to comment Share on other sites More sharing options...
quataofr Posted January 28, 2021 Author Share Posted January 28, 2021 I created a sub domain for my nodejs app and It worked. But when I try to use WebsocketIo, the connection failed.Can I use WebsocketIo in nodejs project? Link to comment Share on other sites More sharing options...
Krydos Posted January 29, 2021 Share Posted January 29, 2021 Sockets probably won't work through passenger. I've never tried it though. https://stackoverflow.com/questions/59598607/implementing-websocket-server-by-nodejs-on-shared-cpanel-host Link to comment Share on other sites More sharing options...
quataofr Posted January 29, 2021 Author Share Posted January 29, 2021 Look like there is no way I can fix that error. Socket.io uses long polling to help my app run correctly. I think it is enough for my project right now. But I hope there is an easy solution to use Websocket in the future. Link to comment Share on other sites More sharing options...
Krydos Posted January 31, 2021 Share Posted January 31, 2021 You could always get a vps. https://www.heliohost.org/vps/ Link to comment Share on other sites More sharing options...
Recommended Posts