Search code examples
onsen-uimonaca

Monaca Localkit Launch Error


When I try to launch the Monaca Localkit application, it shows "Unable to start HTTP server. Maybe the port is occupied. Please change the port and restart the program."

Then, I have changed my port setting many times, but it still shows the same message.

My default port setting is 8001. And I checked whether other application is using this port by netstat command. But no application is using.

I tried to re-install Monaca Localkit application too. But the result is the same as before.

How can I fix this problem? Please give me an advise.


Solution

  • It means that another program is using that port, maybe another instance of localkit? If yes, terminate the program to free the port. You should also check if your firewall allows communications through port 8001.

    If you want just to change port, you can open Localkit and go, from the menu bar, to Monaca Localkit -> Preferences and change Listening Port.