Use localhost by default

If host is not configured connect to localhost.