reading host and port from settigns file
updating sample settings file