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

+1 to a constant in the future. I think we should also default to a more user friendly default; 8080, 8888, ... But we can hold off on that for now.