Anwar

Posts

Node.js Port 3000 already in use but it actually isn’t?

https://www.digitalocean.com/community/tutorials/how-to-use-pm2-to-setup-a-node-js-production-environment-on-an-ubuntu-vps   npx kill-port 3000 Reference: https://stackoverflow.com/questions/39322089/node-js-port-3000-already-in-use-but-it-actually-isnt

cyberpanel node.js setup

context / { type                    appserver location                /home/discount.deals/public_html binPath                 /usr/bin/node appType                 node maxConns                100   rewrite  {   } addDefaultCharset       off } RewriteEngine On RewriteRule ^/myapp$...

Does private IP of an AWS instance change while instance is running?

The private IP address of an Amazon EC2 instance will never change. It will not change while an instance is running. It will not change while an instance is stopped. You cannot change a private...

how to get lowest price on amazon.com for a product

Match Low Price The Match Low Price feature helps you quickly and easily match the current lowest prices on Amazon for the products you offer. “Current lowest...

the resource requested could not be found on this server laravel

Could you try this command to restart web server (no down time) after permalink set to post name? sudo service lsws restart Please let us...

Installing PM2

Step 3 — Installing PM2 Next let’s install PM2, a process manager for Node.js applications. PM2 makes it possible to daemonize applications so that they...

how to write rewrite rules for openlitespeed

Code: rewrite  { enable                  1 autoLoadHtaccess        1 } Reference: https://cyberpanel.net/blog/2018/04/07/how-to-write-rewrite-rules-for-openlitespeed/

curl: (7) Failed to connect to localhost port 9200: Connection refused

need to update network.host: localhost Reference: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-elasticsearch-on-ubuntu-18-04

Forever-restart when files change?

forever stopall git pull forever start server.js   https://www.npmjs.com/package/node-dev   Logging and output file locations By default forever places all of the files it needs into /$HOME/.forever. If...