Use fixed port for embedded web server

Try to open embedded web server on 51792, then open a dynamic port.

@gaurave for review
cc @devoncarew