localhost redirected to an external ip EXPRESSJS


When I enter localhost: 3000 in chromium redirects me to google.es and I can not avoid this behavior, I have investigated what can be caused and I do not give with a solution.

In mozilla it does not happen to me. My system is ubuntu 18.04, I have researched the file etc / hosts and there seems to be nothing strange:   localhost   'mi nombre'-H81M-DS2

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

I have also observed that in chromium an entry is installed in other search engines with the search field and keyword localhost that refers to a query URL that points to that address google.es. The fact is that I have deleted that entry but I still do the redirection.

I also remember that I have been practicing with the javascript express library, the fact is that at a certain moment, I think I remember, I redirected the code in the following way: res.redirect('https://google.es') or something similar the case is that I am not able to find it, I know it should have nothing to do unless the process has been left in memory which I do not believe.

I do not have the remotest idea of what process is redirected, suggestions or tests are accepted thanks Thinking it well I think it has to be due to some exclusive condition of chromium since the redirect does not happen to me in mozilla

asked by michel perez 30.12.2018 в 23:14

0 answers