Localhost redirecting to localhost/tutorial

拥有回忆 提交于 2021-02-11 09:01:40

问题


Yo!

I am having an issue with my localhost after installing Docker Desktop. It automatically redirects to localhost/tutorial. I believe that is for the "beginner" container that comes with docker desktop, however even after removing it, and having other containers running, or even if docker is completely turned off, it still automatically redirects, which leads me to believe the issue is something with Windows.

I've checked my hosts file on windows and can't find anything wrong, but in case im being blind, this is the hosts file:

#
127.0.0.1 localhost
::1 localhost
# Added by Docker Desktop
192.168.68.116 host.docker.internal
192.168.68.116 gateway.docker.internal
# To allow the same kube context to work on the host and the container:
127.0.0.1 kubernetes.docker.internal
# End of section

Thanks for any help!


回答1:


So turns out that it was indeed not windows, rather it was Google Chrome that had cached the redirect. So what you should do is go into the chrome settings and clean your cache, and that should resolve the issue.



来源:https://stackoverflow.com/questions/63596057/localhost-redirecting-to-localhost-tutorial

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!