Re:BeGoneAds – A Python script that blocks ads by installing...
by lelf on Monday June 10, 2019 @12:19PM
(#20148134)
0.0.0.0 ≠ localhost
[ Parent
| on HN ]
Re:BeGoneAds – A Python script that blocks ads by installing...
by inlined on Monday June 10, 2019 @01:12PM
(#20148659)
Indeed. Traffic served from 0.0.0.0 can be seen from other machines. Traffic on 127.0.0.1 or localhost cannot. Important to know when you’re doing local development vs a local demo.
Re:BeGoneAds – A Python script that blocks ads by installing...
by sp332 on Monday June 10, 2019 @02:29PM
(#20149416)
IP addresses with 0 as the first octet are invalid and hopefully will not be routed. I prefer them for hosts files over localhost because localhost has to wait and time out, but 0.0.0.0 will fail right away.
Re:BeGoneAds – A Python script that blocks ads by installing...
by inlined on Wednesday June 12, 2019 @11:57AM
(#20165991)
Not sure why Ive been downvoted. I’ve used this all the time for demoing projects. It’s like asking for port 0. You don’t get the actual 0.0.0.0 IP address, but you use a physical network instead of the loopback virtual network device. Heck; I’ve had to change this in web hosting projects as a security vs feature trade off.