How to host AdonisJs 4.1 on AWS EC2 #2194
midhunvoicene
started this conversation in
General
Replies: 1 comment
-
Got a solution, changed HOST=0.0.0.0 in .env. Now it is working Reference :https://content.nanobox.io/how-to-deploy-adonis-applications-to-aws-with-nanobox/#why0000 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have converted my existing NodeJs project to adonisjs framework. It is running perfectly on local host. I have uploaded it to my AWS EC2 and started 'adonis serve --dev'. I got server started message like this 'info: serving app on http://127.0.0.1:3333'.
But i'm unable to access my homepage. I also tried after changing to production mode and also tried with my server IP instead of 127.0.0.1 in .env file. If i replace 127.0.0.1 with my IP, i'm getting some errors.
My old Nodejs project is running if i start it on port 3333
Beta Was this translation helpful? Give feedback.
All reactions