alexmojaki / birdseye

Graphical Python debugger which lets you easily view the values of all evaluated expressions
https://birdseye.readthedocs.io
MIT License
1.65k stars 71 forks source link

setting host argument to localhost by default may not work for macOS #81

Closed bombs-kim closed 4 years ago

bombs-kim commented 4 years ago

[environment]

birdseye script sets --host argument to 'localhost' by default. In my case, my socketserver couldn't recognize that name. Please refer to the discussion below. /gaierror-errno-8-nodename-nor-servname-provided-or-not-known-with-macos-sie

My solution was either to change etc/hosts file or to set 0.0.0.0 as host argument.

alexmojaki commented 4 years ago

Fixed in https://github.com/alexmojaki/birdseye/commit/1f31aef8f1729172baa83264904ce0ed1f7eb49b

I wouldn't recommend using 0.0.0.0 unless you want to expose your server to the outside world.

I don't understand what you tried to show me in the link, why your localhost doesn't refer to 127.0.0.1, or why an entry like that wasn't already in your /etc/hosts.

bombs-kim commented 4 years ago

@alexmojaki Sorry I wan't clear enough on why I attached the link. I just wanted to show you that some other mac users suffer from the problem, namely, that localhost does not refer to the 127.0.0.1.