Monaca Onsen UI Discord Chat Github Repo

Waiting for Monaca Debugger connecting to apipa adress

  • Hi,
    Whe I start:

    monaca debug

    from Local Toolkit it says:

    Waiting for Monaca Debugger connecting to

    My correct address is, and I can use LAN and Internet resources without problems.
    How can I tell the debugger to listen to my IP address?
    My firewall is off, my smartphone says it has found a PC on the LAN but it runs on timeout.

    What can I do?

  • administrators

    Do you have Node installed on your system? If you do, try running this program:

    const os = require('os');
    const nif = os.networkInterfaces();
    console.log(JSON.stringify(nif, null, 2));

    From the program output, look for the first object with "family": "IPv4" and "internal": false. This is the address that Monaca Debugger will use.

    I’m guessing that both and appear in your output and both are non-internal and IPv4, and that appears first.

    (By the way, I figured out this behaviour by looking at the Monaca CLI source code. It looks like this is the function that determines the IP address that Monaca Debugger will use: