Today I Learned

hashrocket A Hashrocket project

Loopback to different 127.*.*.* ips mac osx

You can't bind to the loopback interface automatically on mac osx.

> rails -b
ERROR: Can't assign requested address - bind(2) for (Errno::EADDRNOTAVAIL)

Mac OSX will disable all loopback addresses other than by default, but they can be enabled with ifconfig.

> sudo ifconfig lo0 alias up

And now your server can bind to that address.

h/t Jack Christensen

See More #workflow TILs