I have a standard Apache server. Do I need anything special to run a node.js script (http://socket.io/) on the serverside?
相关问题
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs
- Stop .htaccess redirect with query string
- google-drive can't get push notifications
- How to reimport module with ES6 import
- .htaccess rule, redirecting old unexistent address
相关文章
- node连接远程oracle报错
- Apache+Tomcat+JK实现的集群,如果Apache挂了,是不是整个服务就挂了?
- How can make folder with Firebase Cloud Functions
- @angular-cli install fails with deprecated request
- How reliable is HTTP_HOST?
- node.js modify file data stream?
- How to resolve hostname to an ip address in node j
- Transactionally writing files in Node.js
You will need shell access to start the node.js server. So it most likely won't work on shared hosting.
Node.js provides its own HTTP server, thus making Apache unnecessary.
If you wish to run Apache and Node.js on the same server, either set node to listen to port 80 and forward unhandled requests to Apache, or vice versa
In both instances, Node/Apache will listen to the publicly open port 80, and forward to Apache/Node listening on some non-public port.