Unable to connect to simulator.

Former Member
Former Member
Hello :)

I wanted to continue writing apps for my fenix 5, but cannot seem to get the simulator working.

I do not use eclipse, but rather use Sublime and a custom build script.

I can build my own and the sample apps just fine. Then I start the simulator via 'connectiq' command.

'monkeydo out.prg fenix5' -> Unable to connect to simulator.

I disabled Little Snitch and pf, to no avail.

I'm on High Sierra (10.13.3) and just downloaded the most recent SDK from your website (connectiq-sdk-mac-2.4.2).

What does it need? What do I need?

Thanks.

All the best,

Christian
  • Former Member
    Former Member over 7 years ago
    Are any messages printed out when directly launching the simulator executable? Is there any change in behavior when launching with maybe elevated privileges?
  • I'm not sure what the problem you're having is, I can't reproduce it on my Mac (Sierra 10.12.6). I've not been allowed to upgrade to High Sierra yet.. :(

    The simulator expects to get a socket connection on TCP ports 1234-1238. If you've got something blocking those ports, that would be a problem. Additionally, we've seen that having spaces in path names (of your project or the SDK) can generate issues.

    Travis
  • Former Member
    Former Member over 7 years ago
    Just FYI in case anyone else is still suffering, Travis' suggestion about file paths worked for me. I had issues with Eclipse Oxygen.2 (4.7.2) working with SDK 2.4.2 on OSX High Sierra. Not only did the simulator not work, the SDK manager failed to install SDK's as well. After a complete deletion and reinstall of Eclipse and the SDK, it's all now working. The solution for me was to ensure that at no point where there any spaces in the paths to Eclipse, the SDK or my workspaces directory. Solved my problem, maybe it'll solve your's too.
  • I was able to reproduce this on the Mac by adding spaces in file paths. I've created a bug ticket and I'm moving this to the bug reports forum.

    Thanks,
    - Coleman
  • While this is an old thread,  the problem with spaces in the path still exists for Mac OS X. I am running Catalina  with CIQ 3.2.1. Once I removed all the spaces. This required the ConnectIQ to be installed in a different place other than the recommended $HOME/Library/Application\ Support. 

  • How do you change the install path in SDK manager?

  • I recognize that this is a very old thread and originally for Mac OS, but as it is the first result when searching for this error, I figured I'd post the solution to this problem that worked for me in Windows 11, after 4 hours of diagnostics:

    https://superuser.com/questions/1579346/many-excludedportranges-how-to-delete-hyper-v-is-disabled

    Hopefully this helps anyone who also stumbles across this thread with the same issue. 

  • I Can't thx you enough! Not sure if i would have found it with out this post. "net stop winnat" was the solution.