Fix exception in Uploader, update error message when the port is taken