Apparently, InetAddress.getLocalHost doesn't actually return localhost.