You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same issue here. It's seems that you need to check before if nginx redirection to the api work fine. After that you have to launch the server with yarn as it is explain, but it does not work for me as well.
I was able to get it to work. Only that that it not working is the caching part. I have yet to figure out that. But one thing to keep in mind is I was using windows. In windows port 80 is default for IIS default site if you have IIS is installed. In that case you need to change the port number on Nginx to something else other than 80, try 8081
I commented
urlData = await cache.getFromCache('originalUrl', originalUrl); part in urlshorten.js file to skip the cache check.
Also, make sure you are using postman or something similar to validate it is working. You can also put breakpoints and find out where it is erroring out.
Hi I'm trying to do the final step, which is the redirecting.
I've done the NGINX configuration:
server {
listen 8080 default_server;
listen [::]:8080 default_server;
server_name localhost;
#charset koi8-r;
But the error I get in the browser is :
This site can’t be reached localhost refused to connect.
On Postman it's :
Could not get any response
There was an error connecting to http://localhost/kRKAtUi3r.
Any ideas what's wrong?
The text was updated successfully, but these errors were encountered: