Functions

starts the server if an available port can be found