If you still can't connect, check to see if you have a TouchOSC device added in Logic Pro, then remove it if you do. Remove TouchOSC device from Logic Pro
Logic Remote might not connect if you previously added a TouchOSC device as a control surface for Logic Pro.
Close Logic Remote.
Open Logic Pro X on your Mac.
Choose Logic Pro X > Control Surfaces > Setup.
Check to see if a TouchOSC device appears in the window. If so, select the device, press the Delete key, then click OK.
If there are other Logic Remotes in the window, delete them.