Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Change the hostname to be more explicit: 127.0.0.1 or 0.0.0.0 I've ran into issues where a host name is not resolved on one OS but it is resolved in other OS'.


If that works it raises more questions than it answers ;)


Either a bug on the OS they're on, or some Rust library (OS based bug or bad assumptions bug). Guessing the developer only tested their code in one OS.


I'm sure the dev has tested only on OS X. I'm on Linux. 127.0.0.1 and 0.0.0.0 fail, by the way, as does specifying my actual hostname or localhost using --bind. Recommend the dev install a Linux VM!


You're right. I'll test it when I get a chance


Can you run `nc -l localhost 1234`?


Yep!


It works on my Debian Buster.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: