localhost:4200 |
Google Chrome remove redirect HTTP to HTTPS on localhost
If you are getting this kind of error while running on the local machine then following are the way to fix it.
Hard Refresh
You can check whether the current page is opening in incognito mode or not if it is opening in the incognito mode then the chances are Google Chrome has cached the site so whenever you are trying to reach the site then it redirecting to HTTP to HTTPS.
Steps to follow:
- Open Google Chrome Developer Tools (Ctrl + Shift + i)
- Go to Network Tab
- Click on disabled cache checkbox at the top of the developer tools
- Now hard refresh the page (press f5 or shift refresh)
- This should work now
Please find the following image to understand more about it.
Please let me know if this help you.
If you are still getting the same error then comment here we will try to help you.