Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Something went wrong adding host file entries. #56

Closed
darrylmorley opened this issue Nov 19, 2019 · 5 comments
Closed

Something went wrong adding host file entries. #56

darrylmorley opened this issue Nov 19, 2019 · 5 comments

Comments

@darrylmorley
Copy link

darrylmorley commented Nov 19, 2019

Hi,
I have this issue on Ubuntu 19.10 when creating a new 10up install.
How can I go about resolving this so that it works, please?

Originally posted by @darrylmorley in #42 (comment)

@darrylmorley
Copy link
Author

This appears to be related to the node version used, I uninstalled v12 and now using v10. Everything appears to be working as expected now.

@jdmcom
Copy link

jdmcom commented Mar 3, 2020

Hi,
Could you give more infos abouts the host entries ?
I am facing the same issue (Windows 10, tried node v10 and v12 with no success) : 503 10up/nginx-proxy when accessing localhost or 127.0.0.1, and the domain name .test is not working at all.
No visible error in the creation process, and all services (mailcatcher, phpmyadmin, etc.) seems up and running, i am confused as it looks like a name resolving issue...

@dustinrue
Copy link
Collaborator

Check the windows hosts file to ensure the hosts entry was created.

@nicoladj77
Copy link

@jdmcom you need to run the create command from an elevated command prompt, otherwise it can't modify the hosts file

@git-bhanu
Copy link

I am not sure how to fix this with 10updocker but as suggested:

Something went wrong adding host file entries. You may need to add the /etc/hosts entries manually.

In windows 10 you can go to the file.

C:\Windows\System32\drivers\etc\

Edit the host file (with administrator privileges) and add the host. Eg.

127.0.0.1 ngnix.test
127.0.0.1 phpooo.test
127.0.0.1 missinghost.test  <<< Add it here.

And everything shouuld work fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants