Defold won't open projects. I get this error message;

So, I opened up Defold 2 (Version 1.2.117 on Github), and it wouldn’t let me click anything when it opened, but rather gave me this error message:

An error occurred:
java.security.PrivilegedActionException: Unknown
java.io.IOException: Unable to establish loopback connection
java.net.ConnectException: Connection timed out: connect

Is this Defold 2.0 pre-releases fault? Or is it something to do with my computer?

Are you running any network services by any chance? (HTTP servers, network debuggers, etc)

Defold uses port 8002 for a web-based debugger, so there might be some conflict with that. Not sure if one can disable it or change the port to something else.

Also check if your loopback interface is working correctly (via ifconfig on linux/mac or ipconfig on windows).

I haven’t got any network services that would be interfering, and I don’t know how to change the port, unfortunately. Could you link me how to do so?

Also, I did “ipconfig” in windows, and I don’t see anything that would be climamatic.

Hi @harrison.court25,

This sounds like a privilege issue. Have you tried running the editor as administrator? Of course, you should be able to run the editor as a normal user, but knowing if it works as administrator would be helpful.

4 Likes

Worked! Thanks!

1 Like