Can't test html5 after 3.1.3 update (OSX)

openfl test html5

throw er; // Unhandled ‘error’ event
Error: listen EADDRINUSE
at errnoException (net.js:904:11)
at Server._listen2 (net.js:1042:14)
at listen (net.js:1064:10)
at net.js:1146:9
at dns.js:72:18
at process._tickCallback (node.js:419:13)
at Function.Module.runMain (module.js:499:11)
at startup (node.js:119:16)
at node.js:906:3

System Software Overview:

System Version: OS X 10.10.3 (14D136)
Kernel Version: Darwin 14.3.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: increpare
User Name: Stephen Lavelle (stephenlavelle)
Secure Virtual Memory: Enabled
Time since boot: 4 days 3:36

OpenFL Command-Line Tools (3.1.3-LO0LwQ)

This worked fine with an older version (can’t remember what my previous version was - but I just upgraded and found I couldn’t test anymore.

I can’t run html5, but I can build (though the build seems to be broken, but I haven’t looked into that yet).

project file :

Hope this all is of some help!

Lemme know if you’ve any further questions -


This is an error from the Node web server, it means that you have a web server running on the same port already. Usually, this occurs when you have another OpenFL or Lime build running.

You can check for another running instance, use the Activity or Task monitor to close running Neko or Haxe instances, or you can also use a different port, for example:

openfl test html5 --port=3010


Oh, indeed! Error message could be nicer, but thanks for clarifying it! :slight_smile: