made a form in the app UI to set the port number and connect manually