At the moment ip address and port are in code. It should be set by the user interface and a button should be used to connect to the server.