![]() ![]() Since that is the only job listening on that port on that server, you should be able to point your browser to the domain name of any of the cPanel accounts or even the IP address of the server, adding the port number to the URL. To access a running node.js server, you'll need to have the port number it's listening on. If 8080 doesn't work, you might try 60000. Indeed, the available ports might be quite restrictive. Ordinarily, without root access, a job run by a cPanel account cannot listen on port 80. If the URL only contains an IP address, cPanel has to default to one of cPanel accounts. in which home directory to find the files to serve and scripts to run. Depending on the domain name in the requested URL, the web server uses "Virtual Hosting" to figure out which cPanel/unix account should process the request, i.e. Here's a good answer (search before asking, the issue might be solved by then).ĬPanel typically runs Apache or another web server that is shared among all the cPanel/unix accounts. You can daemonize your Node process to keep running installing PM2 or Forever (NPM Packages). ![]() cPanel won't help you in that regard, since you only need to install NodeJS on your server (you must have SSH access-root), and run it from there. Most you can do in these web servers is to set a reverse proxy.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |