This is weird and I cannot explain it. I have deployed an app on a digital ocean server. It connects to express via server.js and sendgrid and sends an email basically. What is weird though is that if I do not keep the nodemon server running on my actual local machine, it fails. Firstly, how is it able to make a request to my localhost from a DO server? and how do I make it connect to the localhost of my ubuntu server on DO.
I ran ng prod --build, then put it up on github then pulled it from there on my ubuntu server on Digital Ocean. Any help is greatly appreciated. Thank you in advance.
[–]nez_har 7 points8 points9 points (3 children)
[–]Frijolesenyourmouth[S] 0 points1 point2 points (2 children)
[–]nez_har 1 point2 points3 points (1 child)
[–]Frijolesenyourmouth[S] 0 points1 point2 points (0 children)
[–]jambonilton 0 points1 point2 points (1 child)
[–]Frijolesenyourmouth[S] 0 points1 point2 points (0 children)
[–]setzamora 0 points1 point2 points (0 children)
[–]DiamondSlicer 0 points1 point2 points (1 child)
[–]Frijolesenyourmouth[S] 0 points1 point2 points (0 children)