To run nodejs file on a real domain

32 Views Asked by At

Citations: To run nodejs file on my domain

Is there a way to do like this?

npm run app.js --someAction? realdomain.com:80
  • my case is just to run a simple single file.
  • don't want use any web server Apache or nginx.
  • don't want any env file.
  • don't want change /etc/hosts.
  • and there is no way to change client side /etc/hosts.
0

There are 0 best solutions below