Fixed selecting the port to use for the dev server.