Google Chrome is blocking localhost.
I'm using XAMPP with Apache localhost, ports 80 and 443. Google Chrome is up to date.
I'm getting the following error:
Your connection is not private
Attackers might be trying to steal your information from localhost (for example, passwords, messages, or credit cards). NET::ERR_CERT_COMMON_NAME_INVALID
Try this:
In Chrome, put in chrome://flags/#allow-insecure-localhost in the address bar.
Enable the option that says "Allow invalid certificates for resources loaded from localhost".
Restart Chrome, and it should allow the site.
From Chrome version 63, it will redirect all .dev extension to domain https
So try another extension to another, ex .test, .local...
You can refer here: https://docs.serverpress.com/article/234-your-connection-is-not-private-google-chrome
Try typing in your are blocked page thisisunsafe. Simple type this word on keyboard. I found solution from this https://medium.com/#dblazeski/chrome-bypass-net-err-cert-invalid-for-development-daefae43eb12
It worked for me just by changing " .dev" to ".local"
I'm using windows 10
your connection is not private for virtual host in XAMPP
I've faced the same problem, Now It has been solved it.
don't use '.dev' for your local domains - the new chrome (version 63) redirects all .dev -Domains to 'https://name.dev'
Try to rename your local domains to something like '.test' and 'phpmyadmin.test' or whatever
I had the same problem.
Kyle Erickson's answer didn't work for me.
I changed the host name and it was ok. You can also use the ip directly.
Reset your browser.Remove cache and cookies from your browser.Try now your website. It should work.
Still doesn't work let us know in comments below.
Related
Trying to install source tree in my Windows 10. They are asking for mandatory BitBucket account and after creating account when I proceed their oAuth, I found state and auth code are being sent like, http://localhost:34106/?state=authenticated&code=CHabzvwrFjNAEzWYCD. But localhost seems not running in my Windows and hence gage loading fails.
There was a temporary DNS error. Try refreshing the page.
Error Code: INET_E_RESOURCE_NOT_FOUND
Anyone faced similar issue? What's the resolution?
Sourcetree seems to be using the Loopback Interface Redirection, which is a recommended solution for Windows.
Your error INET_E_RESOURCE_NOT_FOUND seems to be DNS related, so I would first try if there is something wrong with resolving localhost to 127.0.0.1. Try to ping localhost If it fails (which would be strange), you can add localhost to c:\windows\system32\drivers\etc\hosts:
127.0.0.1 localhost
If localhost is correcly resolved to 127.0.0.1, your firewall may be the problem. I would try to stop if during the Sourcetree installation.
I have Sourcetree installed on my computer, but the installation went without problems, so I'm just writing what I would try to do.
The problem that i have is that the only way i can get to the login page (in a subdomain) is when i have cloudflare OFF for that record, the moment i turn on Cloudflare, it never show me nothing, after a while only shows an ERR_CONNECTION_TIMED_OUT error. ¿Can you please point me in the right direction?
solved by myself. For other facing the same problem: The problem is the 10000 port, Cloudflare in the free plan only allow the following ports:
https://support.cloudflare.com/hc/en-us/articles/200169156-Which-ports-will-Cloudflare-work-with-
You have to change it in: Webmin -> Webmin configuration -> Ports and Addresses - change port, and restart Webmin; then enable Cloudflare, and you are ready to go.
Wow this fixed my issue! All my systems are on cloudflare, but none of the linux forums addressed this, they all mentioned editing host files and opening firewall ports.
This makes no sense to me.
I am migrating a website with a couple of domains to a new host. The DNS changes have been made and seem to have fully propagated. Certainly my local machine and a couple of remote tests all see the new IP address.
Using Chromium
Dev Tools Network Tab open, Remote Address column visible
Version 57.0.2987.98 Built on 8.7, running on Debian 8.9 (64-bit)
If I go to http://private.tibit.com everything is fine. The first request:
private.tibit.com 200 http 77.104.180.216:80 document Other 936 B 23 ms
But if I go to https://private.tibit.com, the first request is going to the old IP Address, the first request is:
private.tibit.com 200 https 185.119.173.19:443 document Other (from ServiceWorker) 10 ms
How can this be? Curl http:// or https:// from my console both go to the new address. Firefox goes to the new address. I just checked and even an Incognito Tab goes to the new address.
I have tried disabling all extensions, and have cleared the Chrome DNS cache via chrome://net-internals/#dns.
This feels a bit scary - will end users also get 'stuck' looking up the old IP for https:// when we migrate the live site? Will it sort itself out when the 'old' is taken offline?
Surely, if the DNS A record is pointing at a new IP, and Chrome sees and uses that, it should be doing so irregardless of protocol?
Thanks in advance.
I am facing a strange issue on a single PC, all other PC's I have tried are fine so the problem definitely seems localised to this setup.
Windows 7
Google Chrome Version 48.0.2564.82 m
I have developed a simple website on an Apace web server (Windows Server 2012), and assigned it an internal IP address (1.2.3.4), and internal dns name (MyWebsite.MyDomain).
This website is only available within our company. When I type the URL MyWebsite.MyDomain into any browser I am presented with the correct web page, great. When I type the IP address 1.2.3.4 into any browser I am also presented with the correct web page, great again.
This is the case for every PC I have tried so far, apart from one. Instead I am presented with the following error message;
This web page is not available
ERR_NAME_NOT_RESOLVED
Why would this be?
Things I have tried so far on the local PC;
delete history/cache on local PC
ipconfig /flushdns
ipconfig /renew
ipconfig /registerdns
changed to Google public dns (8.8.8.8 / 8.8.4.4)
restart (multiple times)
tried IE and FFOX (same error)
checked hosts file (all looks ok)
The only change I ever made to this individual PC was I installed XAMPP and changed the hosts file (for testing purposes). I have since uninstalled XAMPP and reverted to the original hosts file - could this be the issue? I can't think of any other changes.
I had thought the issue was with my web server setup, but as the web site is accessible from all other PC's it would appear not?
Looks like a re-build may be necessary for this PC, unless somebody can perhaps point me to another suggestion? Any help appreciated.
That machine doesn't happen to have any static ip addressing configured, does it? I'm thinking that perhaps a manual entry for DNS server is conflicting or overriding what DHCP is supposed to be assigning.
I have installed moodle many times. But this time when i install moodle all steps are completed uptil update profile. (localhost/moodle/user/editadvanced.php id=2) when i enter admin details and update file nothing is displayed. when i try to access moodle module through localhost chrome displays message "web page has a redirect loop".
localhost/moodle/admin/index.php page is not redirected. i have reinstalled Xampp.
in Apache error log i found following
RSA certificate configured for www.example.com:443 does NOT include an
ID which matches the server name
.
i found solution some where to comment include conf/extra/httpd-ssl.conf but it another error is activated in error log
"Sessioncache is not configured"
. Also i have changed port 443 but it didn't work
Find the moodledata folder.
Inside the moodledata
there are many folders
Delete all from Cache
2.Delete all from Session
Restart your browser.
It worked for me.
Hope that works for you.
Thanks for reply. I have found another solution.
While i was accessing a service provided by Linux server i got message that service has been blocked by security settings. I searched and while searching for that problem i found the solution of both.
https://productforums.google.com/forum/#!topic/chrome/DYk8tSV8qM4
go to control panel, programs, click on java, security.
set security to medium.
Java security was set to high which was blocking moodle application.
Delete the cache and the sesson folder data's in the moodle data folder. It will prevent you from redirecting the loop.
It is worked for me.But deleting the whole moodledata folder is not recommended
Just a guess... but if you are using a certificate, have you tried using https in your config.php?
$CFG->wwwroot = 'https://...'