Issue running Spark locally: java.net.BindException

This seems to be caused by Spark not looking for the right IP on certain network connections. Fix is here: