Requires the user to enter the server ip and port instead of hardcoded values.