I have node application that works fine on my localhost, but whenever I try to access it with NGROK from another devcie it shows only the home page but node app does not work, please help me solve this problem,
any help is apreciated.
best reagrds...
Honestly never used Ngrok, but I use http://localtunnel.me/ looks like it does the same, if is not working with this then you should probably share some code to see what is going on
Related
I dont know why but in localhost my nodejs web work correctly and all loads good but when i setup it in my ubuntu vps, css and images not work. I already checked the dirname for the express.static().
Anyone can help me?
EDIT: Fixed and i dont know how sorry, i only waited time haha
facing this issue for days. I have tried many approaches in order to solve it, however, none of them works.
The error I`ve been facing:
The issue I have been facing
The admin module of SmartStore has been working without any issues, the only problem is with the web module of SmartStore. P.S: I have no CDN profile on azure.
What I have tried:
I have tried clearing caches, worked on several different browsers and devices in order to test it. Nothing seems to solve the issue.
Link to the web: https://smartstoreweb20210927175106.azurewebsites.net/
However, if we type any random route after it like lets say:
https://smartstoreweb20210927175106.azurewebsites.net/a
It gives 404 error like it should.
Also, if we try to access admin module:
https://smartstoreweb20210927175106.azurewebsites.net/admin
It works perfectly, and also the registration and other functionalities of the app itself. Any insight would be highly appreciated.
Try this: Find TSL/SSL Settings of your Azure Subscriptions and Turn off the HTTPS only. Hopefully, It will work for you.
The screenshot is attached for your reference.
I have a node/socket.io chat app on OpenShift. The directory layout is the following:
I would like to start using SSL on the site, specifically with Let's Encrypt, which is free. However, no matter how many tutorials I Google and try out (on a separate hosting for testing, of course), I simply can't make it work properly.
I'm sure to some this is a silly question, but I'd appreciate if someone could tell me how to do this with OpenShift.
If anyone knows of an easy to understand, step by step tutorial, I would appreciate a link.
I am trying to add a login/register system to my project (phonegap project) so I am following this guide trying to understand how to work in a server side. However I don't really get how to get the system working, nothing in the guide mentions how to setup&run the server so I am kind of stuck.
Can someone please explain to me how do I run the server with the MongoDB,Mongoose and node so that my login database would work? perhaps you can also suggest easier methods I would be glad to hear (I saw something about SQL maybe?)
Thank you :)
I followed these steps: https://developers.google.com/deployment-manager/nodejs
But I don't really know where to go from there...how do I actually deploy my node application? Where is the node code? It's not on my machine, I don't think. So, how do I edit it?
I tried connecting to the shell, installing a node app with yo, and serving it to port 9000 with grunt, and then allowing that port with
gcutil --project <project-id> addfirewall http9000 --allowed tcp:9000
and navigating to the address, but it didn't work. However, navigating to 8080, which is what the tutorial said to do gets me Hello World, but I don't know where that code is. Thanks in advance.
Taking look at the star-up script in the vm, I notice that your have this ' DIR=/srv/www FILE=hello.js...', so I found the source at '/srv/www/hello.js'