Description
Spark's http redirect uses port 0 as a secure port to do redirect if http port is not set, this will introduce {{ java.net.NoRouteToHostException: Can't assign requested address }}, so here fixed to use bound port for redirect.
Spark's http redirect uses port 0 as a secure port to do redirect if http port is not set, this will introduce {{ java.net.NoRouteToHostException: Can't assign requested address }}, so here fixed to use bound port for redirect.