2 ms·
Or, if you want to get a bit more fancy, use different IP addresses. For IPv4 you have the entire 127.0-255.0-255.1-255 subnet available to you. For IPv6 you
by vaylian 2y ago
Or, if you want to get a bit more fancy, use different IP addresses.
For IPv4 you have the entire 127.0-255.0-255.1-255 subnet available to you.
For IPv6 you can add additional addresses to your existing network interface.
- unsnap_biceps 2y agoI use the 127.xxx.xxx.xxx extensively for local development and add entries in /etc/hosts so I get dns resolution as well. It works great.
- KronisLV 2y agoI wonder why there aren't super popular solutions for managing hosts entries in an automated way for development, since if you need to share entries with other people for a bunch of projects, then adding them manually is cumbersome and running a separate DNS server just for development is not less so, whereas using public DNS records set to local addresses seems a bit dirty. In other words, where's: hostman apply Hostfile hostman clear Hostfile
- unsnap_biceps 2y agohttps://github.com/2ndalpha/gasmask https://github.com/2ndalpha/gasmask did this for Macs but I've found that I just don't need it. A static file is fine. I often have old entries in it that I don't use anymore but they don't harm anything being there so they stick around until I do a cleanup pass.