Changed endpoint to ip in desktop connect/disconnect