I have recently installed Windows 10. One problem I have encountered is that I can't view localhost files. This is the case for all browsers I use: Chrome, Firefox and not just Edge. In Chrome and Firefox I only see a blank screen whereas Edge gives me an HTTP 404 error message.
I use XAMPP for developing Wordpress sites locally before deploying them to a live server so this is a problem for me. Any help would be greatly appreciated.
Related
I have two entirely separate web apps that display the same behavior on Windows 10. One is an Angular 8/nodejs 16 app that I can serve locally with ng serve. The 2nd is an older ASP.NET site that I build/run locally via Visual Studio. The behavior is this:
If I try to access the local website via localhost in Chrome or Edge, the site is immediately opened instead in Internet Explorer. Attempting to open in Firefox, however, is successful.
I recently upgraded computers and am only experiencing this on the new machine. I have been unable to identify what could be causing this. Windows default browser is set to Chrome.
In your computer, change your default web browser as:
settings-->default apps-->web browser
Figured it out...it's an IT policy that has the respective browsers always open specific URLs in IE--in this case, localhost. I was able identify this by videoing the screen and noticing a message that popped up for only a few milliseconds:
Your system administrator has configured Google Chrome to open Internet Explorer to access localhost.
With that error, I found this question on SO with the answer.
This is the error showing up in my console - VM53:2755 crbug/1173575, non-JS module files deprecated.
EDGE: It looks like the webpage at http://localhost:87/ might be having issues, or it may have moved permanently to a new web address.
ERR_UNSAFE_PORT
CHROME: The webpage at http://localhost:87/espo/ might be temporarily down or it may have moved permanently to a new web address.
ERR_UNSAFE_PORT
FIREFOX: This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection.
I'm running my apps inside laragon setup.
None of my apps in firefox, edge, chrome running as Localhost. After checking so many articles and forum posts I thought to post it here.
I'm surprised that Internet Explorer is working fine and apps are working.
Any help will be highly appreciated, thank you.
In VS Code, I'm trying to host an ASP.NET MVC app. I hit "F5" in order to run the debugger, and VS Code automatically opens my default browser, which is Brave. I get the following error on Chrome and Brave:
Vague Browser Error I know that hosting is taking place, because of this debugger info from VS Code.
The local site hosting works well on Firefox, but not on Chrome and Brave. When it worked on Firefox, it prompted me to continue to the site despite the danger. I told it "I understand the risks, please continue", and boom, it worked on Firefox.
I noticed that http://localhost:5000 redirects to https://localhost:5001, which made me think that there was a certificate error. I deleted the default SSL certificate for localhost in Brave, and then in VS Code, I restored it using:
dotnet dev-certs https dotnet dev-certs https --trust
In Chrome and Brave, I tried https://127.0.0.1:5001, and I was given the same prompt that I was given in Firefox, and then it worked after I told the browser "I understand the risks, please continue".
So though I found a workaround, it's very annoying to have to type in the loopback address rather than just let VS Code automatically open the browser. Can someone tell me how I can use localhost on Brave and Chrome?
I have an issue here which has me baffled.
Another developer and myself developed an ASP.Net Web Forms application four years ago and the site has been live since. About 6 months ago we moved the application from a Windows 2003 web server using IIS 6, to a Windows 2008 web server using IIS 7.5. When we moved servers we tested the application again in the Firefox web browser, however, I can't remember if we also tested in Internet Explorer. We should have done.
Recently it has been brought to our attention that in Internet Explorer, when a user attempts to hit some of the pages within the website, they are presented with a
Forbidden URL
HTTP Error 403. The request URL is forbidden
I have also tried to recreate this error on my local computer and I also get an error
HTTP Error 400 - Bad Request
This only happens when using an Internet Explorer web browser, it works fine with the likes of Chrome, Firefox etc.
I am not sure how to fix this, but because myself and the other developer have not changed any of the source code, I don't think this is where the problem lies. I have a feeling it might have something to do with IIS on our new web server, but I am really not sure.
Has anyone else seen this problem before?
Any feedback would be greatly appreciated.
Thanks.
Folks, the problem for some reason was as follows:
When a user clicked a button on my site which would then redirect them to another page within the site, I previously had the following code to do so
Response.Redirect("../userprofile/myprofile.aspx")
However, after the release of IE 10, this redirect would no longer work, and instead I had to replace it with
Response.Redirect("~/userprofile/myprofile.aspx")
Hope this helps someone else who is having similar problems.
I am using iOS simulator 4.3 for Dashcode 3.0.2. When I run the application I the simulator safari throws an error and cannot load the page. On the other hand the page is easily loaded on desktop browser. The url of the application formed uses localhost with the port number. However, when I replace the localhost word in the url with the ip address of my system, it works perfectly on the simulator safari.
I am blocked please help.
The .local keyword was deleted from Bypass proxy settings, I added it back and it works great now.