Hello, i made an express.js app, basically a webhook that when receives a post request, it sends an email when some conditions are met.
Everything works well locally, tested with ngrok and postman.
When i upload it on Filezilla server of my website, in a folder specifically made for this objective "mywebsite/webhook/" test, i get
403 - forbidden if i make a post request on folder url
405 - method not allowed if i make a post request on the server.js file inside the folder
I am not a developer and not expert in filezilla. What am i missing to make the webhook work as it did locally?
Also: searching online, looks like i shouldn't upload the node modules folder since i have the package-json file. Do i need to do some npm install somewhere, or it is automatic?
Thanks
Express.js app doesn't work
Moderator: Project members
Re: Express.js app doesn't work
This has nothing to do with FileZilla.
Re: Express.js app doesn't work
Uhm, i thought since locally it works, and on filezilla it doesn't, there might be some permission/authorization issue or something i am missing to make it work live.
Well, if anyone has some advice that can point me in the right direction, i'll be grateful.
Thanks anyways!
Well, if anyone has some advice that can point me in the right direction, i'll be grateful.
Thanks anyways!
Re: Express.js app doesn't work
A start would be to check your webserver configuration.
Re: Express.js app doesn't work
Thanks, you're pointing to the fact that my web server might not be able to run node js applications right?
Re: Express.js app doesn't work
Exactly.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org