Git Product home page Git Product logo

Comments (12)

DMTSource avatar DMTSource commented on August 22, 2024 6

@mgka got me there with their suggestion. However it required me to find my <hostname> as it was different from the example, as I expect @ben-ix experienced. In my OS I was able to get this via terminal using: hostname. In my case I had to add, as admin to /etc/host, 127.0.0.1 MyName-MacBook-Pro.local and now scoop is back to working.

from scoop.

unnat5 avatar unnat5 commented on August 22, 2024 4

So in 2019 I still had this problem:
Steps to solve this are as follows:
First, write hostname in the terminal to get your local device hostname and copy it.
Then type sudo nano /etc/hosts and then input password to open nano editor then type this 127.0.0.1 hostnamethis hostname is the one which we got earlier by typing hostname in the terminal, then control+x and Y to save.
Problem solved!

from scoop.

lmarti avatar lmarti commented on August 22, 2024

+1

from scoop.

jasonzutty avatar jasonzutty commented on August 22, 2024

+1

from scoop.

nagapavan avatar nagapavan commented on August 22, 2024

+1
Same issue with Sierra as well.

from scoop.

oriontang avatar oriontang commented on August 22, 2024

+1 any update?

from scoop.

geeknees avatar geeknees commented on August 22, 2024

Same issue with Sierra. I just put 127.0.0.1 MacBook-Pro.local on `/etc/hosts, it may help.

from scoop.

benjaminpatrickevans avatar benjaminpatrickevans commented on August 22, 2024

Any update on this? High Sierra here, and line above didnt work

from scoop.

stephunk avatar stephunk commented on August 22, 2024

I had the same issue. The root of the problem is that there is no mapping between the name of he local host and an IP address. To solve the issue the name of your host (network name of the machine) needs to be added in /etc/hosts pointing to a local ip 127.0.01 <host name>.
Bonus fact, having emojis in the name of the host will not be recognised even if added in the host file.

from scoop.

shdsjd avatar shdsjd commented on August 22, 2024

Even in 2018 +1

from scoop.

xdthesun avatar xdthesun commented on August 22, 2024

@mgka got me there with their suggestion. However it required me to find my <hostname> as it was different from the example, as I expect @ben-ix experienced. In my OS I was able to get this via terminal using: hostname. In my case I had to add, as admin to /etc/host, 127.0.0.1 MyName-MacBook-Pro.local and now scoop is back to working.

yes,it is working well , thanks

from scoop.

KeitelDOG avatar KeitelDOG commented on August 22, 2024

@DMTSource thanks. executing hostname in terminal gave me MyNames-MacBook-Pro.local, like the MyName is contraction to Myname's Macbook Pro.

from scoop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.