Unable to connect to simulator

aware of https://forums.garmin.com/developer/connect-iq/f/legacy-bug-reports/6547/unable-to-connect-to-simulator/43915 still didn't resolve the issue Disappointed

$ monkeydo testp.prg fenix5
Unable to connect to simulator.

stack: win7, SDK 3.0.11, firewall is off, simulator runs and port 1234 obviously works  

TCP    127.0.0.1:1234         tomas-pc:49495         TIME_WAIT

tried to build and run it via Eclipse plugin and problem is the same.

BUILD: Complete
Failed to connect to the simulator.

any ideas guys? i would really appreciate any help.

thx

  • I can't really tell from the data you've provided if the simulator is running when you try to connect to it or not. If the simulator is running, you should be able to see it in the task manager or on the command line via:

    tasklist | findstr "simulator"

    If you want to see if the simulator is listening for network connections, you need to use netstat to check:

    netstat -nq | findstr "LISTENING" | findstr ":1234"

    Oftentimes it is a firewall (which you say you've eliminated) or anti-malware software that blocks listening ports. I know users have complained of issues like this in the past, but I've never been able to reproduce it (aside from doing obvious things like blocking ports).

  • thank you for trying help. actually i did mention "simulator runs and port 1234 obviously worksSlight smile

    i can even make succesfull connection via telnet by doing

    telnet 127.0.0.1 1234

    what the hack? :)) still investigating